![]() |
| | #1 |
| C++ Join Date: Mar 2004
Posts: 12
| Socket's
__________________ Compiler Gcc Last edited by elitesyntax; 03-28-2004 at 08:04 PM. |
| elitesyntax is offline | |
| | #2 |
| sockets mad Join Date: Mar 2002
Posts: 126
| sockaddr structure will hold all that information. Read up on it. When you call the accept() function the second parameter (i think) is a pointer to a sockaddr structure to fill with the information regarding the connecting device. -Dan |
| codec is offline | |
| | #3 | |
| 'AlHamdulillah Join Date: Feb 2003
Posts: 790
| Quote:
to be honest, I dont know, after looking through some unix man pages, I cannot find any function that will return the address of the other side of a socket. | |
| EvBladeRunnervE is offline | |
| | #4 |
| Registered User Join Date: Nov 2001
Posts: 1,348
| Under Win32 platform, definitely. I am not familiar on the UNIX platform. Kuphryn |
| kuphryn is offline | |
| | #5 |
| Yes, my avatar is stolen Join Date: Dec 2002
Posts: 2,544
| getpeername() - Available on all platforms. |
| anonytmouse is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best way to poll sockets? | 39ster | Networking/Device Communication | 3 | 07-22-2008 01:43 PM |
| Cross platform sockets | zacs7 | Networking/Device Communication | 5 | 06-27-2007 05:16 AM |
| multiple UDP sockets with select() | nkhambal | Networking/Device Communication | 2 | 01-17-2006 07:36 PM |
| Raw Sockets and SP2... | Devil Panther | Networking/Device Communication | 11 | 08-12-2005 04:52 AM |
| Starting window sockets | _Cl0wn_ | Windows Programming | 2 | 01-20-2003 11:49 AM |