basically yes.
u create a new socket instance every time u create a new connection.
But, in the wireless world it is very bad practice to keep a connection open when you dont use it.
e.g.
U have an application on your mobile client that communicates once every hour to the server.
On a LAN it is possible to create a socket connection at initialisation and then use for the rest of the time (although this is definetaly not the best way).
In the mobile world this is bad practice. Mobiles can be offline, mobiles can get a new ip address, you can create extra traffic ($$$$$)
So u need to create a connection every time u want to send sth and break the connection when u finished sending.
This way the socket instance (both on server and client) is only alive for the duration of the connection.
So unless all ur mobiles talk tothe server at exactly the same time, you never have 100 instances of sockets.
Hope this helped.
EMC
--------------------------------------------------------
If u are satisfied with this answer please accept it.
This is the only way to get more mobile experts in this group.
--------------------------------------------------------