|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
i m using sockets for setting up a connection between a server and a client.
When the clients gets connected to the server, its ip is conveyed to the server through one of the predefined structures in c library... i save this ip address in an array....1st client's ip address goes to the zeroth element....2nd client's ip addr goes to the 1st element and so on.... the problem is that when 2nd client connects to the server, it overwrites the previously saved ip addresses,i.e. the zeroth element now saves ip addr of 2nd client.... can anyone tell me a way to get out of this situation??? thnx in advance... ![]() |
| Sponsored Links | ||
|
|
|
|||
|
Please post your code snippet of server. This way we won't be able to help you much.
- Dheeraj |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Socket programming | maracumbigo | Programming | 4 | 02-11-2008 02:34 AM |
| Socket Programming | arunviswanath | Programming | 7 | 01-30-2007 03:18 PM |
| socket programming | damn_bkb | IP Networking | 6 | 11-19-2006 02:10 AM |
| Socket Programming socket | soshell | Programming | 2 | 06-29-2004 08:49 AM |
| Socket Programming | joseph_shibu | Programming | 1 | 11-05-2001 10:37 AM |