473,322 Members | 1,287 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,322 software developers and data experts.

completing a non-blocking socket connect request ?

Hi ,

- how do i complete the non-blocking connect request when using the select
method on the client side ?

* (or how do i know that the socket is connected, because i read somewhere
that there is bug with Socket.Connected) .

** (because i have a problem, the socket that do the connect stay in
writable state forever and i don't send nothing on the socket)

Thanks.
Nov 17 '05 #1
4 1554
You have to use async call backs

http://msdn.microsoft.com/library/de...ientsocket.asp

"yaron" <ya***@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Hi ,

- how do i complete the non-blocking connect request when using the select
method on the client side ?

* (or how do i know that the socket is connected, because i read somewhere
that there is bug with Socket.Connected) .

** (because i have a problem, the socket that do the connect stay in
writable state forever and i don't send nothing on the socket)

Thanks.

Nov 17 '05 #2
You have to use async call backs

http://msdn.microsoft.com/library/de...ientsocket.asp

"yaron" <ya***@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Hi ,

- how do i complete the non-blocking connect request when using the select
method on the client side ?

* (or how do i know that the socket is connected, because i read somewhere
that there is bug with Socket.Connected) .

** (because i have a problem, the socket that do the connect stay in
writable state forever and i don't send nothing on the socket)

Thanks.

Nov 17 '05 #3
Hi Raj Chudasama,

I must use the Socket Select method and non-blocking socket operations ( i
can't use the async operations).

Thanks.
"Raj Chudasama" wrote:
You have to use async call backs

http://msdn.microsoft.com/library/de...ientsocket.asp

"yaron" <ya***@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Hi ,

- how do i complete the non-blocking connect request when using the select
method on the client side ?

* (or how do i know that the socket is connected, because i read somewhere
that there is bug with Socket.Connected) .

** (because i have a problem, the socket that do the connect stay in
writable state forever and i don't send nothing on the socket)

Thanks.


Nov 17 '05 #4
Hi Raj Chudasama,

I must use the Socket Select method and non-blocking socket operations ( i
can't use the async operations).

Thanks.
"Raj Chudasama" wrote:
You have to use async call backs

http://msdn.microsoft.com/library/de...ientsocket.asp

"yaron" <ya***@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Hi ,

- how do i complete the non-blocking connect request when using the select
method on the client side ?

* (or how do i know that the socket is connected, because i read somewhere
that there is bug with Socket.Connected) .

** (because i have a problem, the socket that do the connect stay in
writable state forever and i don't send nothing on the socket)

Thanks.


Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: strotee76 | last post by:
What do I need to do to setTerm() for it to work properly? If you notice any other glaring issues, then please let me know. With this header file: ======================= #ifndef Polynomial_h...
5
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence...
25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
3
by: bazdaa | last post by:
Access 2K3 Append/Update ignore non null cells! Hi, I have been tasked with completing an audit of approximately 10,000 items, to which I have generated a list of 40 questions (fields) for...
2
by: sudhashekhar30 | last post by:
hi all i have textbox in step in wizard control(step-10). there are 10 steps. so i want validation on every page and user can't move to other step without completing all correct entry. when i...
1
by: sarabrk | last post by:
Hi, I am having a problem when running a windows application. I see the "The thread 0x328 has exited with code 0 (0x0)." message in the output and the forms still open even after completing the...
1
by: Ivan Ven Osdel | last post by:
Not really, I have just worked with them more. ----- Original Message ----- From: "Ali Servet Dönmez" <asd@pittle.org> To: python-list@python.org Sent: Wednesday, July 2, 2008 1:15:04 PM GMT...
4
by: raghavv | last post by:
Hi, How do you implement auto completing with jcombobox. thank you.
0
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
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...
0
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.