Click here to Skip to main content
14,971,553 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all

We are developing a application in with windows services and implementing socket communication between server &client. Now we need to allocate 2 ports for single custmer. One for incoming and one for outgoing message and
give me a suggest.
Sergey Alexandrovich Kryukov 22-Oct-13 15:12pm
What do you mean by "customer"? Is it a client socket user, or something else? Port is defined by a listener part, not by a client. And if you connect to some remote socket, you can do it any number of times in the same process... There is no "how" — the same way as usual.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900