473,408 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

VB.net 2 - Socket - Why is it so difficult?

MTEXX
5
There are dozens of snippets and such on the net of how individuals have wrapped the Socket class; yet none work for all situations. My question is- why? The VB6 Winsock control worked beautifully. I've also had experience with the Qt toolkit. Their QSocket worked likewise beautifully. Why did MS break a good thing? I suppose that is a moot subject.

Be it threading issues, synchronous lag, the necessity to wrap functions in a thread, unfixable exceptions I still can't get a socket implementation to work for a decent set of use cases. I've spent sum porobably 60 hours on sockets in vb.net and I'm growing VERY TIRED of dealing with it.

Where is a robust VB6-style implementation of sockets for VB.net 2?????? that's what i want!!!

Thanks in advance,

-MTEXX
Dec 31 '07 #1
1 1242
radcaesar
759 Expert 512MB
When compared to vb6, .NET is the robust thing to achieve things. I thought that its ur problem because u still stick on the older ones. Refer MSDN Specification for 2.0 sockets.

Just be strong in those assembly collections of 2.0 and u will be fine to carry forward. Sorry, if i have degrade you or any mislead words. Just leave those words.

Thanks.


There are dozens of snippets and such on the net of how individuals have wrapped the Socket class; yet none work for all situations. My question is- why? The VB6 Winsock control worked beautifully. I've also had experience with the Qt toolkit. Their QSocket worked likewise beautifully. Why did MS break a good thing? I suppose that is a moot subject.

Be it threading issues, synchronous lag, the necessity to wrap functions in a thread, unfixable exceptions I still can't get a socket implementation to work for a decent set of use cases. I've spent sum porobably 60 hours on sockets in vb.net and I'm growing VERY TIRED of dealing with it.

Where is a robust VB6-style implementation of sockets for VB.net 2?????? that's what i want!!!

Thanks in advance,

-MTEXX
Dec 31 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Tim Gosselin | last post by:
I am writing a tcp tunnel but cannot find a way of detecting when a socket shuts down its read end without writing to the socket. For testing the write end of the remote endpoint I just do a: if...
1
by: alex002 | last post by:
Dear all, I am writing to a C# program to connect to the telnet server and getting data; however, I know that I can use either TCPClient and Asyncronous Socket to do the program. However, I...
4
by: Frank Meng | last post by:
Hi. I am trying a csharp sample from http://www.codeproject.com/csharp/socketsincs.asp . (Sorry I didn't post all the source codes here, please get the codes from above link if you want to try)....
2
by: Dan Holmes | last post by:
The following is the start of an application that will eventually run as a service. It listens on port 23 and emulates VT100. I would like some feedback on the network stream reading and writing....
6
by: Zytan | last post by:
Once a socket is connected, perhaps to a hostname that contains multiple IP addresses, how can I determine to which IP address the connection is made? The only thing I can get from my Socket is an...
2
by: kodart | last post by:
Introduction Performance is the main concern to most server application developers. That’s why many of them anticipate using .NET platform to develop high performance server application regardless...
1
by: srinivasan srinivas | last post by:
Hi, Is there any way(method) to find whether the socket got closed or not?? Thanks, Srini Best Jokes, Best Friends, Best Food and more. Go to...
21
by: puzzlecracker | last post by:
Problem: I send a lot of requests to the application (running on a different box, of course), and I receive back responses from the app . Below: socket corresponds to Socket socket=new...
4
by: The Doctor | last post by:
Hey people, I have two applications: the server, which creates a server socket, waits for a real-time signal, and if it receives one, it creates a client socket. The client, which will...
2
by: buba | last post by:
It's my first post on the group, I'm not c++ programmer. For last 10 years I did everything except c/c++ (or very little). I find it really difficult, more difficult than I expected. Worst of all I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.