![]() |
| | #1 |
| Registered User Join Date: Dec 2007 Location: France
Posts: 396
| Close multiple sockets The compiler telling me that the second one has no effect. Code: closesocket(client), (server); Code: closesocket(client); closesocket(server);
__________________ Using Code::Blocks,MingW with Windows. |
| Ducky is offline | |
| | #2 | |
| Guest Join Date: Aug 2001
Posts: 4,923
| Quote:
Code: closesocket(client); server; | |
| Sebastiani is offline | |
| | #3 |
| Registered User Join Date: Dec 2007 Location: France
Posts: 396
| So we cannot close two sockets with one function. Thank you!
__________________ Using Code::Blocks,MingW with Windows. |
| Ducky is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TCP Sockets: multiple clients - one server | Printisor | C Programming | 4 | 11-01-2007 10:34 AM |
| multiple connections via sockets | cope | Networking/Device Communication | 7 | 06-07-2007 10:35 AM |
| multiple UDP sockets with select() | nkhambal | Networking/Device Communication | 2 | 01-17-2006 07:36 PM |
| Sockets, Multiple I/O | _Cl0wn_ | C Programming | 3 | 03-18-2003 03:53 PM |
| Ghost in the CD Drive | Natase | A Brief History of Cprogramming.com | 17 | 10-12-2001 05:38 PM |