TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anil
NA
1
1.7k
VB.Net Client Server /Interface
Nov 9 2011 3:00 AM
I have an existing Visual Basic Interface program that runs on a Serial Port. This application connects to another application on a serial port and there is a constant receiving and sending of data between the two applications. This application connects to several applications on different serial ports at the same time.
Now I need to port this to a TCP/IP based VB.net (VS2008) application. I would like to have some advice on the following.
1. WinSock or System.Net.Sockets.
2. I need to both receive and send data so how i effectively need to keep the connection to the other applications open all the time till the application is closed. Is this possible?
3. If i use WinSock i can have multiple WinSock controls (1 for each application it will interface to on a dedicated port), If i do it with System.Net.Sockets how can I achieve this?
4. Any sample code for Listening and sending simultaneoulsy either (or both) for Winsock or Sockets would be very helpful.
Regards
Anil
Reply
Answers (
0
)
run exe in console
How to play all files embeded in Resource in VB 2005?