ASP.NET PHP.NET CODEITWELL MASHABLE OPENSOURCEWEBDESIGN BLOGDUMPS FACEBOOK APPS

Home ASP.NET PHP WINDOW Web Programming Web Logic Web Design css Archives
Thursday, October 8

How to make a TCP client send and receive data on particular port in ASP.NET

0 comments

The client everytime connects to the server via a random port. I want to make the client side port also fixed i.e the server should accept new connections if they are coming a pre specified port only.
Is it possible to do that??

Yes it is possible.
socket.Bind(new IPEndPoint(IPAddress.Any, 5555));
socket.Connect(endPoint);


Comments
0 comments
Do you have any suggestions? Add your comment. Please don't spam!
Subscribe to post feed

Your comments here...

Some Useful Books

http://books.google.com.np/books?id=Lan3g76cCFYC&lpg=PP1&dq=photoshop%20shortcuts&hl=en&pg=PT1#v=onepage&q=photoshop%20shortcuts&f=false

About Me

SubscribeSubscribe via RSS

SubscribeRecent Posts

SubscribeHot Links

Archive

Live Traffic Feed