Click here to Skip to main content
15,921,169 members
Home / Discussions / C#
   

C#

 
GeneralTrouble getting designer for a component Pin
Simon_uk23-Jun-04 0:17
Simon_uk23-Jun-04 0:17 
GeneralRe: Trouble getting designer for a component Pin
Heath Stewart23-Jun-04 4:36
protectorHeath Stewart23-Jun-04 4:36 
GeneralRe: Trouble getting designer for a component Pin
Simon_uk23-Jun-04 5:33
Simon_uk23-Jun-04 5:33 
Generald Pin
Anonymous22-Jun-04 23:52
Anonymous22-Jun-04 23:52 
GeneralRe: d Pin
eggie523-Jun-04 9:58
eggie523-Jun-04 9:58 
GeneralDiscussion forum Pin
Member 94217022-Jun-04 23:51
Member 94217022-Jun-04 23:51 
GeneralRe: Discussion forum Pin
Colin Angus Mackay23-Jun-04 0:31
Colin Angus Mackay23-Jun-04 0:31 
GeneralIEndPoint Object Pin
dabuskol22-Jun-04 23:49
dabuskol22-Jun-04 23:49 
Guys,

I'm connecting to different servers using IP/PORT. So far I'm connected to 70 ip/port at the same time using the statement below. My problem is that if i'm using a port which has a value greater than 70000 it gives me an error "index out of bound"

string stripd = "10.32.54.23";<br />
string strport = "70252";<br />
<br />
IPAddress ip = IPAddress.Parse (stripd);<br />
Int32 iPortNo = Convert.ToInt32 ( strport);<br />
//create the end point <br />
IPEndPoint ipEnd = new IPEndPoint(ip.Address, iPortNo);<br />
//connect to the remote host...<br />
socketList[arrcnt].Connect (ipEnd);


I think int32 is not enough for the value=70252 but I tried to change it to int64 but the IEndPoint object doesn't accept long datatype.

Kindly help me, I'm got getting any data for that particular PORT.

Thank you very much in advance
/Dabuskol
GeneralRe: IEndPoint Object Pin
Colin Angus Mackay23-Jun-04 0:33
Colin Angus Mackay23-Jun-04 0:33 
GeneralRe: IEndPoint Object Pin
dabuskol23-Jun-04 0:59
dabuskol23-Jun-04 0:59 
GeneralRe: IEndPoint Object Pin
Colin Angus Mackay23-Jun-04 1:19
Colin Angus Mackay23-Jun-04 1:19 
GeneralRe: IEndPoint Object Pin
dabuskol23-Jun-04 1:26
dabuskol23-Jun-04 1:26 
GeneralRe: IEndPoint Object Pin
Heath Stewart23-Jun-04 4:24
protectorHeath Stewart23-Jun-04 4:24 
GeneralHighlight a line that contains a string Pin
clatten22-Jun-04 23:49
clatten22-Jun-04 23:49 
GeneralRe: Highlight a line that contains a string Pin
LongRange.Shooter23-Jun-04 3:20
LongRange.Shooter23-Jun-04 3:20 
GeneralRe: Highlight a line that contains a string Pin
clatten23-Jun-04 11:44
clatten23-Jun-04 11:44 
GeneralRe: Highlight a line that contains a string Pin
clatten23-Jun-04 21:57
clatten23-Jun-04 21:57 
GeneralRequired permissions cannot be acquired Pin
Daniel Zaharia22-Jun-04 23:25
Daniel Zaharia22-Jun-04 23:25 
GeneralRe: Required permissions cannot be acquired Pin
Jochen Kalmbach [MVP VC++]23-Jun-04 0:44
Jochen Kalmbach [MVP VC++]23-Jun-04 0:44 
GeneralRe: Required permissions cannot be acquired Pin
Daniel Zaharia23-Jun-04 1:37
Daniel Zaharia23-Jun-04 1:37 
GeneralRe: Required permissions cannot be acquired Pin
Jochen Kalmbach [MVP VC++]23-Jun-04 1:57
Jochen Kalmbach [MVP VC++]23-Jun-04 1:57 
GeneralRe: Required permissions cannot be acquired Pin
Heath Stewart23-Jun-04 4:19
protectorHeath Stewart23-Jun-04 4:19 
GeneralRe: Required permissions cannot be acquired Pin
Daniel Zaharia23-Jun-04 4:37
Daniel Zaharia23-Jun-04 4:37 
GeneralRe: Required permissions cannot be acquired Pin
Daniel Zaharia23-Jun-04 2:06
Daniel Zaharia23-Jun-04 2:06 
GeneralRegistration page woes Pin
diptea22-Jun-04 23:18
diptea22-Jun-04 23:18 

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.