Hi,
I have a VB6 project that uses a winsock control to receive text
messages over a UDP connection.
It used to work fine. However, when I changed the code to make it more
efficient (ie, less processing was done with each received message), the
program has this weird bug where it will stop acting on the messages
received. The program might work fine for a whole day, receiving
thousands of messages, so it is an intermittent problem.
When it does stop responding, the program itself is still responsive to
user inputs, and a log file I wrote indicated that no new messages were
being received. However, if the program is stopped and restarted, the
messages are again processed.
Another winsock control that is listening on port 80 for web requests
also continues to work.
Has anyone encountered this or know of a possible solution? 2 5991
"Mark" <ma**@eliminatespam.comskrev i meddelandet
news:45**********************@roadrunner.com...
Hi,
I have a VB6 project that uses a winsock control to receive text
messages over a UDP connection.
It used to work fine. However, when I changed the code to make it more
efficient (ie, less processing was done with each received message), the
program has this weird bug where it will stop acting on the messages
received. The program might work fine for a whole day, receiving
thousands of messages, so it is an intermittent problem.
When it does stop responding, the program itself is still responsive to
user inputs, and a log file I wrote indicated that no new messages were
being received. However, if the program is stopped and restarted, the
messages are again processed.
Another winsock control that is listening on port 80 for web requests
also continues to work.
Has anyone encountered this or know of a possible solution?
I don't know if this helps, but the Winsock ctrl does not just receive
complete msg's from UDP. There can be partly received msg's in the buffer.
/Henning
I had the same problem.The only way to handle it was to close and re-open
the listening control after some time (maybe 1 hour )
"Mark" <ma**@eliminatespam.comescribió en el mensaje
news:45**********************@roadrunner.com...
Hi,
I have a VB6 project that uses a winsock control to receive text messages
over a UDP connection.
It used to work fine. However, when I changed the code to make it more
efficient (ie, less processing was done with each received message), the
program has this weird bug where it will stop acting on the messages
received. The program might work fine for a whole day, receiving thousands
of messages, so it is an intermittent problem.
When it does stop responding, the program itself is still responsive to
user inputs, and a log file I wrote indicated that no new messages were
being received. However, if the program is stopped and restarted, the
messages are again processed.
Another winsock control that is listening on port 80 for web requests also
continues to work.
Has anyone encountered this or know of a possible solution?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Henning |
last post by:
Hi grp!
Trying to receive a udp msg in vb6, but it shows only zeros. What have I
missed?
/Henning
--
Time is present only to prevent everything from happening at once.
Still it seems that...
|
by: Nadav |
last post by:
Hi
I am writing some kind of a storage system that have to deal with large amounts of data passing over the net, Now, I Wonder... traditional programming would use win32 Winsock DLL as the means...
|
by: Beeeeeves |
last post by:
Hi, hope somebody can help...
I have created a service which has a filesystemwatcher as its main
component, it then logs information received in the events to an access
database. I was using a...
|
by: mareal |
last post by:
I have noticed how the thread I created just stops running. I have added
several exceptions to the thread
System.Threading.SynchronizationLockException
System.Threading.ThreadAbortException...
|
by: Gita George |
last post by:
Is there any Winsock control replacement in VB .NET, including support
for events like DataArrival?
I have tried the Sockets class, but has NO events ...
How can I know when I receive data?
Using...
|
by: ValK |
last post by:
Hi.
Does .NET have something Similar to WinSock ocx?
I reviewed System.Net.Sockets. It works good, but I really like event
'DataArrival' that old WinSock have.
Thanks,
|
by: Nicolas Ghesquiere |
last post by:
Hello
I have a problem with my current program.
The meaning of the program is to allow users to login to a server to allow
them to access the internet.
My program communicates with a MS isa...
|
by: pbd22 |
last post by:
Hi.
I know my windows service works when i run it in debug mode on my dev
machine.
It also works in release mode on my dev machine. But, when I move the
service to
a production server, it...
|
by: AaronL |
last post by:
Hello,
I am currently working on a project that has me in sort of a bind. What I want to do is retrieve web pages from the internet, and strip them down to just text. I'll get using Regular...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |