hey everyone,
recently i've started learning about sockets and i have some questions:
- what does the function Socket.Bind(EndPoint) do?
- how can i change my clients Port? it seems to be random...
- can i use two sockets on the same application? two sockets on the same port (server side)?
- why cant i bind my server's socket to a diffrent port? in order to do so i closed the socket created a new one and used the bind function on it with the new port...
thanks in advance,
dor.