473,796 Members | 2,583 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Connecte d) .

** (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 1576
You have to use async call backs

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

"yaron" <ya***@discussi ons.microsoft.c om> wrote in message
news:86******** *************** ***********@mic rosoft.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.Connecte d) .

** (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***@discussi ons.microsoft.c om> wrote in message
news:86******** *************** ***********@mic rosoft.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.Connecte d) .

** (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***@discussi ons.microsoft.c om> wrote in message
news:86******** *************** ***********@mic rosoft.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.Connecte d) .

** (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***@discussi ons.microsoft.c om> wrote in message
news:86******** *************** ***********@mic rosoft.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.Connecte d) .

** (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
5974
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 #define Polynomial_h class Polynomial
5
3756
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 their dtor is called immediately and not at the end of the function. to be able to use return objects (to avoid copying) i often assign them to a const reference. now, casting a const return object from a function to a non-const reference to this...
25
7652
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
4528
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
8
3517
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 cannot load/unload/reload extensions into my large and slow-to-load application during development without restarting the process then the disadvantages may outweigh the advantages. I've got a mixed-mode program in which I create a new AppDomain...
3
1920
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 each record. I began collating the information in Excel, but found myself getting lost and even experienced major data loss on at least 2 occasions. I have now decided to ditch Excel and use Access 2003 instead. I have imported my master spreadsheet,...
2
1568
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 click on link in side bar step moves without completing validation. thnx
1
1149
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 process. How do I end the application?
1
180
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 -06:00 US/Canada Central Subject: Re: Freesoftware for auto/intelligent code completing in Python On Jul 2, 7:55 pm, Ivan Ven Osdel <i...@datasyncorp.comwrote:
4
2286
by: raghavv | last post by:
Hi, How do you implement auto completing with jcombobox. thank you.
0
9680
marktang
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...
0
9528
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,...
0
10228
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10173
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9052
agi2029
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...
1
7547
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2925
bsmnconsultancy
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...

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.