|
by: Sven Groot |
last post by:
I have a Windows Service application that acts as if it's an SMTP server.
Outlook connects to this service, which is always running on the localhost.
This works fine most of the time.
However, sometimes it will no longer receive anything from Outlook.
Socket.Receive would block indefinitely (actually, Socket.Poll times out,
because that's what I'm using). Outlook sends it, because when I'm stepping
through the code with the debugger,...
|
by: ?lafur Helgi R?gnvaldsson |
last post by:
I'm building a server application which accepts socket connections and
I ran into some problems.
The socket is asynchronous and therefore uses the BeginXXX and EndXXX
methods in the Socket class to receive data. I also use a
ManualResetEvent to signal the main thread when data arrives.
Here is the code I'm running:
using System;
|
by: EppO |
last post by:
I wrote a small server/client app. I created a class for my customized
socket object using (synchronous) Sockets functions for both server
and client use.
When client connects to server, if It sends something to server,
everything works fine (i.e. server received what client sent). But if
I try to make server send anything, client receive 0 byte although
server send a correct bytes size.
Any idea ?
|
by: Alexander Muylaert |
last post by:
Hi
I their a way I can interupt socket.Receive.
I want my multi-threader server to be able to handle requests as wel as
Broadcast messages. This broadcasting is done when the socket is not
handling a request.
How can I do something like this
|
by: Mark |
last post by:
Hi All,
I have taken over some code that listens on port 25 and does the
following:
private byte buffer = new byte; // Receive buffer.
While there is data:
|
|
by: Craig |
last post by:
Hi
I listen on a port, when data is received I raise an event
(OnMessageReceived) in the while loop as follows:
private void WaitForConnection() {
TcpListener listener = new TcpListener(IPAddress.Any, 1234);
Stream data = null;
Socket socket = null;
|
by: Willis |
last post by:
Hello,
I would like to be able to poll to throw an event when the Receive buffer
for a UDP client is almost full. Basically, given a Socket object what is the
best way to 1.) Check the current max buffer size and 2.) Check how much data
is now in that buffer. Or, how can I set an event or poll a method that will
tell me when a buffer is full and droping packets?
Thanks,
--
Willis
|
by: Robert Treat |
last post by:
We got a few of these on a 7.3 server this afternoon. The server was
completed pegged on i/o activity (both physical disks, including the one
the db doesn't live on)
May 12 15:15:51 gnvdb01 postgres: LOG: PGSTATBUFF: Warning -
receive buffer full
May 12 15:15:52 gnvdb01 postgres: LOG: PGSTATBUFF: Warning -
receive buffer full
May 12 15:15:52 gnvdb01 postgres: LOG: PGSTATBUFF: Warning -
receive buffer full
|
by: irfanullah |
last post by:
I have written an application for Receiving Stock Market Feed over a 2 Mbps Connection with Exchange with average incoming data of 800kbps.
The program works fine for sometime i.e. for an hour or so but then it throws SocketException Saying "An Operation on socket could not be performed because the system lacked sufficient buffer space ir because a queue was full".
But in my program i am receiving it very fast that on my internal LAN it...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|