Click here to Skip to main content
15,902,777 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to do math operations with generic function arguments? Pin
CKnig9-Jan-08 22:54
CKnig9-Jan-08 22:54 
GeneralRe: How to do math operations with generic function arguments? Pin
NassosReyzidis10-Jan-08 3:35
NassosReyzidis10-Jan-08 3:35 
GeneralReceive data of Unkown Size Pin
Waqas Badar9-Jan-08 22:21
Waqas Badar9-Jan-08 22:21 
GeneralRe: Receive data of Unkown Size Pin
satsumatable9-Jan-08 22:39
satsumatable9-Jan-08 22:39 
GeneralRe: Receive data of Unkown Size Pin
Waqas Badar10-Jan-08 0:30
Waqas Badar10-Jan-08 0:30 
GeneralRe: Receive data of Unkown Size Pin
satsumatable10-Jan-08 0:36
satsumatable10-Jan-08 0:36 
GeneralRe: Receive data of Unkown Size Pin
Waqas Badar10-Jan-08 0:45
Waqas Badar10-Jan-08 0:45 
GeneralRe: Receive data of Unkown Size Pin
satsumatable10-Jan-08 0:50
satsumatable10-Jan-08 0:50 
Sorry i thought you are using Sync.

Please look at the highlighted stuff...

Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
IPEndPoint end = new IPEndPoint(IPAddress.Any, 0);
sock.Bind(end);
sock.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveTimeout, 3000);
sock.Connect(this.GSIP, this.GSPort);
int iTotalAvailableData = sock.Available;
//that size i am unable to know
byte[] bufferRec = new byte[iTotalAvailableData];

sock.Receive(bufferRec);

Thanks.
GeneralASCII value of a char Pin
dipak.dipak9-Jan-08 22:13
dipak.dipak9-Jan-08 22:13 
GeneralRe: ASCII value of a char Pin
satsumatable9-Jan-08 22:38
satsumatable9-Jan-08 22:38 
QuestionMicrosoft Practice and Patterns Pin
satsumatable9-Jan-08 21:02
satsumatable9-Jan-08 21:02 
GeneralRe: Microsoft Practice and Patterns Pin
dhans9-Jan-08 22:12
dhans9-Jan-08 22:12 
GeneralRe: Microsoft Practice and Patterns Pin
satsumatable9-Jan-08 22:57
satsumatable9-Jan-08 22:57 
GeneralRe: Microsoft Practice and Patterns Pin
Vasudevan Deepak Kumar9-Jan-08 23:31
Vasudevan Deepak Kumar9-Jan-08 23:31 
GeneralRe: Microsoft Practice and Patterns Pin
Vasudevan Deepak Kumar9-Jan-08 23:33
Vasudevan Deepak Kumar9-Jan-08 23:33 
GeneralRe: Microsoft Practice and Patterns Pin
Luc Pattyn10-Jan-08 4:23
sitebuilderLuc Pattyn10-Jan-08 4:23 
Generalrandom display Pin
angels7779-Jan-08 20:53
angels7779-Jan-08 20:53 
GeneralRe: random display Pin
Abhijit Jana9-Jan-08 21:21
professionalAbhijit Jana9-Jan-08 21:21 
GeneralRe: random display Pin
angels77710-Jan-08 0:35
angels77710-Jan-08 0:35 
Generalrichtextbox enhancce Pin
angels7779-Jan-08 20:50
angels7779-Jan-08 20:50 
GeneralRe: richtextbox enhancce Pin
Thomas Stockwell10-Jan-08 1:29
professionalThomas Stockwell10-Jan-08 1:29 
GeneralRe: richtextbox enhancce Pin
angels77710-Jan-08 1:51
angels77710-Jan-08 1:51 
GeneralRe: richtextbox enhancce Pin
Thomas Stockwell10-Jan-08 6:12
professionalThomas Stockwell10-Jan-08 6:12 
GeneralChanging Images every five secons Pin
minniemooo9-Jan-08 20:03
minniemooo9-Jan-08 20:03 
GeneralRe: Changing Images every five secons Pin
Usharva9-Jan-08 20:06
Usharva9-Jan-08 20:06 

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.