Skip to main content
gamedev.net
🔒 Locked

listen() problem

Started by hello_there 2 replies 350+ views
Original Post
hello_there
hello_there
is there anyway to tell when someone is trying to connect? i''m using listen();
____________How could hell be worse?
Prefect
Prefect
listen() tells the kernel that you want to listen for incoming connections.
Then you can use select() to check for connection attempts. Use accept() to actually accept an incoming connection.

cu,
Prefect
Widelands - laid back, free software strategy
hello_there
hello_there
what parameters does select() take?
____________How could hell be worse?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.