Click here to Skip to main content
15,914,013 members
Home / Discussions / C#
   

C#

 
QuestionDrawing bitmap? Pin
Dominik Reichl5-Oct-06 2:36
Dominik Reichl5-Oct-06 2:36 
AnswerRe: Drawing bitmap? Pin
aamironline5-Oct-06 4:53
aamironline5-Oct-06 4:53 
GeneralRe: Drawing bitmap? Pin
Dominik Reichl5-Oct-06 6:43
Dominik Reichl5-Oct-06 6:43 
AnswerRe: Drawing bitmap? Pin
Insincere Dave5-Oct-06 4:58
Insincere Dave5-Oct-06 4:58 
GeneralRe: Drawing bitmap? Pin
Dominik Reichl5-Oct-06 6:43
Dominik Reichl5-Oct-06 6:43 
QuestionClient/server communication Pin
The underdog5-Oct-06 2:09
The underdog5-Oct-06 2:09 
AnswerRe: Client/server communication Pin
Andrei Ungureanu5-Oct-06 2:29
Andrei Ungureanu5-Oct-06 2:29 
GeneralRe: Client/server communication Pin
The underdog5-Oct-06 2:40
The underdog5-Oct-06 2:40 
I guess this means its a prob on the server. Here is the server code.

private void Form1_Load(object sender, EventArgs e)
{
sokje = new Socket(AddressFamily.InterNetwork, SocketType.Stream
, ProtocolType.Tcp);

IPHostEntry ipHostInfo = Dns.Resolve(Dns.GetHostName());
IPAddress ipAddress = ipHostInfo.AddressList[0];
localEndPoint = new IPEndPoint(ipAddress, 11000);

sokje.Bind(localEndPoint);
sokje.Listen(5);
}

private void button1_Click(object sender, EventArgs e)
{
sender = new IPEndPoint(Dns.Resolve(IPAddress.Any.ToString()).AddressList[0] , 11000);
EndPoint senderRemote = (EndPoint)sender

clSocket = sokje.Accept();

int ontvangen;

//sokje.Bind(localEndPoint);

byte[] data = new Byte[256];
ontvangen = sokje.Receive(data);
}

I'm really sorry but i dont understand most of the explanation. Could u give a hint what to place where? Because i onestly dont know

Kind Regards,
Jacco
GeneralRe: Client/server communication Pin
Andrei Ungureanu5-Oct-06 3:15
Andrei Ungureanu5-Oct-06 3:15 
GeneralRe: Client/server communication [modified] Pin
The underdog5-Oct-06 3:24
The underdog5-Oct-06 3:24 
Questionupdate dataset fields in runtime Pin
topcatalpha5-Oct-06 1:28
topcatalpha5-Oct-06 1:28 
QuestionNo application associated with specified file... [modified] Pin
Support1235-Oct-06 1:26
Support1235-Oct-06 1:26 
QuestionSaving list box contents Pin
Wolf925-Oct-06 1:07
Wolf925-Oct-06 1:07 
AnswerRe: Saving list box contents Pin
rah_sin5-Oct-06 1:27
professionalrah_sin5-Oct-06 1:27 
AnswerRe: Saving list box contents Pin
MCSD-Gandalf5-Oct-06 1:27
MCSD-Gandalf5-Oct-06 1:27 
QuestionTree Library / control for c# Pin
t4ure4n5-Oct-06 0:52
t4ure4n5-Oct-06 0:52 
QuestionDoubt in Switch-Case statement. Pin
He is Cool5-Oct-06 0:41
He is Cool5-Oct-06 0:41 
AnswerRe: Doubt in Switch-Case statement. Pin
albCode5-Oct-06 0:48
albCode5-Oct-06 0:48 
GeneralRe: Doubt in Switch-Case statement. Pin
He is Cool5-Oct-06 0:53
He is Cool5-Oct-06 0:53 
GeneralRe: Doubt in Switch-Case statement. Pin
Colin Angus Mackay5-Oct-06 0:54
Colin Angus Mackay5-Oct-06 0:54 
GeneralRe: Doubt in Switch-Case statement. Pin
Christian Graus5-Oct-06 1:00
protectorChristian Graus5-Oct-06 1:00 
AnswerRe: Doubt in Switch-Case statement. Pin
Christian Graus5-Oct-06 0:53
protectorChristian Graus5-Oct-06 0:53 
GeneralRe: Doubt in Switch-Case statement. Pin
Colin Angus Mackay5-Oct-06 1:04
Colin Angus Mackay5-Oct-06 1:04 
AnswerRe: Doubt in Switch-Case statement. Pin
Colin Angus Mackay5-Oct-06 0:53
Colin Angus Mackay5-Oct-06 0:53 
QuestionProperty Grid Pin
praveenqwe5-Oct-06 0:39
praveenqwe5-Oct-06 0:39 

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.