General Network question

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tranquil.

Howdy hooo!!

Does anyone know how to find out the IP of an incoming connection to a server??
Must be possible I think... If someone can help, let me know.

THANKS A LOT!

Cheers
Mike

Tranquilizer/ Secretly!
Registred PureBasic User
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by El_Choni.

There are several API functions regarding IP addresses, so you're right, it must be possible. I think it would be easier if we know how NetworkClientID is related to Windows IP handling: is it a member of a Windows structure or just a Network lib internal identifier?

Sorry not to be able to help you further...

Bye,

El_Choni
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tranquil.

I have got the socket-number of the client that windows returns after the connecting. should be possible with this socket ID in conjunction with an API command, but which command!?!?

If I would know this, It will make my work much easier in my app. :P

Cheers

Mike

PB and PC COMMUNITY-ROXX!!

Tranquilizer/ Secretly!
Registred PureBasic User
Post Reply