|
-
Feb 23rd, 2004, 02:23 PM
#1
Thread Starter
Lively Member
Server with two ports
Hello Everybody:
I am trying to create an application in which the C# server can listen to two ports (8000 and 8001) with the same host 10.0.6.39 simultaneously
Can any one guide me how to do it???
Pls guide...
Thanks,
Kapil
-
Feb 24th, 2004, 03:47 PM
#2
Fanatic Member
You're going to have to create 2 listening sockets, one on each port...
as for actual programming of sockets, there are a few good tutorials around, but there are only a handful of really good ones... I would suggest you learn how to program with asynchronous sockets...
-
Feb 9th, 2005, 08:33 PM
#3
Member
Re: Server with two ports
just create 2 tcp listener objects with different ports
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|