Click here to Skip to main content
15,915,513 members
Home / Discussions / C#
   

C#

 
Generalflat scrollbars in datagrid Pin
Robert J24-Apr-03 0:24
Robert J24-Apr-03 0:24 
GeneralError in Image.save From PictureBox Pin
Ferec Bruno23-Apr-03 23:43
Ferec Bruno23-Apr-03 23:43 
GeneralRe: Error in Image.save From PictureBox Pin
apferreira24-Apr-03 8:14
apferreira24-Apr-03 8:14 
GeneralRe: Error in Image.save From PictureBox Pin
Steven Behnke25-Apr-03 10:23
Steven Behnke25-Apr-03 10:23 
GeneralRe: Error in Image.save From PictureBox Pin
apferreira26-Apr-03 0:08
apferreira26-Apr-03 0:08 
QuestionHow to "disable" GAC functionalities for a shared library? Pin
EdgarBM23-Apr-03 23:11
EdgarBM23-Apr-03 23:11 
AnswerRe: How to "disable" GAC functionalities for a shared library? Pin
leppie24-Apr-03 7:12
leppie24-Apr-03 7:12 
QuestionMore than 2 packets in socket receive buffer, how can i only receive one? Pin
krisp23-Apr-03 22:51
krisp23-Apr-03 22:51 
By the time Im done processing some data from a socket i received on, 2 or more packets have been received and are in the queue/buffer. When I call receive it returns all bytes as in all the packets waiting into the byte array.

Is there anyway to just receive one of those packets??... they are of all different length. I think i could just send the length of the packet as the first 4 bytes (Int32) and read in 4 bytes determine the length and then read that many, but i would think there may be a way to just ask the socket to only fill the byte array with the first packet in the queue??

Its TCP all blocking sockets.

Any help would be appreciated, i realize i could fix my problem by doing what i mentioned above (sending the length at the front, first 4 bytes), but it seems there should be a better way??
GeneralXML, XSLT Documentation Pin
STW23-Apr-03 22:33
STW23-Apr-03 22:33 
GeneralDateFormat Pin
James McCutcheon23-Apr-03 17:19
James McCutcheon23-Apr-03 17:19 
GeneralRe: DateFormat Pin
James McCutcheon23-Apr-03 17:42
James McCutcheon23-Apr-03 17:42 
GeneralRe: DateFormat Pin
J. Dunlap23-Apr-03 17:58
J. Dunlap23-Apr-03 17:58 
QuestionHow to "kill" a socket Pin
nahumtakum23-Apr-03 12:22
nahumtakum23-Apr-03 12:22 
QuestionHow to display a panel and its contents in a ListBox/ListView Pin
bmasephol23-Apr-03 11:24
bmasephol23-Apr-03 11:24 
AnswerRe: How to display a panel and its contents in a ListBox/ListView Pin
J. Dunlap23-Apr-03 11:39
J. Dunlap23-Apr-03 11:39 
GeneralSending data from a Textbox to Access database Pin
trndbrg23-Apr-03 6:13
trndbrg23-Apr-03 6:13 
GeneralRe: Sending data from a Textbox to Access database Pin
krisp23-Apr-03 23:01
krisp23-Apr-03 23:01 
GeneralDateTime To Double Pin
Anonymous23-Apr-03 5:57
Anonymous23-Apr-03 5:57 
GeneralRe: DateTime To Double Pin
Alvaro Mendez23-Apr-03 10:39
Alvaro Mendez23-Apr-03 10:39 
GeneralCombo Box Problems Pin
Corey Embry23-Apr-03 4:35
sussCorey Embry23-Apr-03 4:35 
GeneralRe: Combo Box Problems Pin
Not Active23-Apr-03 5:31
mentorNot Active23-Apr-03 5:31 
GeneralRe: Combo Box Problems Pin
Corey Embry23-Apr-03 6:42
sussCorey Embry23-Apr-03 6:42 
GeneralEmbedded c# app -> internet Pin
Roger Alsing23-Apr-03 3:11
Roger Alsing23-Apr-03 3:11 
GeneralRe: Embedded c# app -> internet Pin
Stephane Rodriguez.23-Apr-03 11:06
Stephane Rodriguez.23-Apr-03 11:06 
GeneralRe: Embedded c# app -> internet Pin
Roger Alsing23-Apr-03 20:43
Roger Alsing23-Apr-03 20:43 

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.