Click here to Skip to main content
15,890,282 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB.Net Controls: Default-Value of a Property Pin
Christian Graus1-Dec-05 14:11
protectorChristian Graus1-Dec-05 14:11 
GeneralRe: VB.Net Controls: Default-Value of a Property Pin
vocaris2-Dec-05 2:23
vocaris2-Dec-05 2:23 
AnswerRe: VB.Net Controls: Default-Value of a Property Pin
[Marc]2-Dec-05 4:01
[Marc]2-Dec-05 4:01 
GeneralRe: VB.Net Controls: Default-Value of a Property Pin
vocaris2-Dec-05 5:02
vocaris2-Dec-05 5:02 
QuestionPublic Integers........ Pin
daviiie1-Dec-05 13:42
daviiie1-Dec-05 13:42 
AnswerRe: Public Integers........ Pin
Christian Graus1-Dec-05 14:13
protectorChristian Graus1-Dec-05 14:13 
AnswerRe: Public Integers........ Pin
tusar1231-Dec-05 18:11
tusar1231-Dec-05 18:11 
Questionserver socket instance blocking Pin
mpage1-Dec-05 12:06
mpage1-Dec-05 12:06 
VB.net 2005

when I set the server to non blocking I get the following error
"A non-blocking socket operation could not be completed immediately"

example
Dim serverSocket As New Socket( _
localEndPoint.AddressFamily, SocketType.Stream, ProtocolType.Tcp)
serverSocket.Blocking = False
Try
serverSocket.Bind(localEndPoint)
serverSocket.Listen(Integer.MaxValue)
Console.WriteLine("Server started.")

While True
Try
Dim clientSocket As Socket = serverSocket.Accept()
As soon as I dim the Client socket I get the error.

If I set the "serverSocket.Blocking = True" then every thing works fine.

Any help would be appreciated.


mpage
QuestionGraphics flickering in VB6 Pin
Hoopla!1-Dec-05 11:56
Hoopla!1-Dec-05 11:56 
AnswerRe: Graphics flickering in VB6 Pin
Christian Graus1-Dec-05 12:14
protectorChristian Graus1-Dec-05 12:14 
GeneralRe: Graphics flickering in VB6 Pin
Hoopla!1-Dec-05 14:28
Hoopla!1-Dec-05 14:28 
GeneralRe: Graphics flickering in VB6 Pin
Christian Graus1-Dec-05 14:34
protectorChristian Graus1-Dec-05 14:34 
AnswerRe: Graphics flickering in VB6 Pin
Joshua Quick1-Dec-05 12:18
Joshua Quick1-Dec-05 12:18 
AnswerRe: Graphics flickering in VB6 Pin
Joshua Quick1-Dec-05 13:11
Joshua Quick1-Dec-05 13:11 
GeneralRe: Graphics flickering in VB6 Pin
Hoopla!1-Dec-05 14:42
Hoopla!1-Dec-05 14:42 
Questionconverting a varchar datatype to a bit data type using VBScript Pin
abhishk2001@yahoo.com1-Dec-05 10:32
abhishk2001@yahoo.com1-Dec-05 10:32 
AnswerRe: converting a varchar datatype to a bit data type using VBScript Pin
KaptinKrunch1-Dec-05 18:47
KaptinKrunch1-Dec-05 18:47 
QuestionHelp for efficiently populating a listview Pin
eatwork1-Dec-05 9:17
eatwork1-Dec-05 9:17 
AnswerRe: Help for efficiently populating a listview Pin
jan larsen1-Dec-05 9:48
jan larsen1-Dec-05 9:48 
GeneralRe: Help for efficiently populating a listview Pin
eatwork2-Dec-05 6:34
eatwork2-Dec-05 6:34 
AnswerRe: Help for efficiently populating a listview Pin
Joshua Quick1-Dec-05 11:54
Joshua Quick1-Dec-05 11:54 
GeneralRe: Help for efficiently populating a listview Pin
eatwork2-Dec-05 6:32
eatwork2-Dec-05 6:32 
Questionquick newby .NET compact framework question Pin
garbeechio1-Dec-05 8:04
garbeechio1-Dec-05 8:04 
Questionmannual crystal report Pin
smdbt1-Dec-05 7:23
smdbt1-Dec-05 7:23 
Questionupdatind data from a datagrid Pin
smdbt1-Dec-05 7:07
smdbt1-Dec-05 7:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.