8 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for abhishek_s_n
Member Avatar for Sofiia
0
1K
Member Avatar for exicar

Hello, I´m currently developing an application which sends data to my Windows server. I already wrote the following code (server-side) [CODE]namespace server { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Server s = new Server(3000); s.ExceptionReceived += new Server.ExceptionReceivedHandler(s_ExceptionReceived); } void s_ExceptionReceived(exception e) { MessageBox.Show(string.Format("DateTime: {0} …

Member Avatar for exicar
0
344
Member Avatar for rootchord

I am learning about networking in C# and to do so i am making a simple instant message server/client app. everything is going fine. i am currently testing it by inputting my own ip address as the target to send/receive on same machine. but, i can only send one message …

Member Avatar for samueal
0
988
Member Avatar for kutuup

I've trawled the internet searchiing for an explaination on how to do this. I'm working on an assignment and we are told to "transmit a whole object to the server". As far as I know, the send function of winsock2 only allows you to send data of type char, so …

Member Avatar for kutuup
0
485
Member Avatar for reza.adinata

Hi all, I am trying to build a ui application with thread for tcp server. I managed to build the tcp server itself using console (giving a welcome message when I telnet it), but when I copy the exact source code in WPF , I can not telnet it. The …

Member Avatar for reza.adinata
0
322
Member Avatar for hkBattousai

A most basic TCT connection is established with the code below: [CODE]// Initialization IPEndPoint m_IpEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.71"), 5000); Socket m_Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); NetworkStream m_Stream = new NetworkStream(m_Socket); // Read/write operations m_Stream.Write(System.Text.Encoding.ASCII.GetBytes("Hello world!"), 0, 12); byte[] read_buffer = new byte[4096]; m_Stream.Read(read_buffer, 0, 4096); // Closing open resources …

Member Avatar for mcriscolo
0
344
Member Avatar for yanni13

Hi, I've got two programs (client and server) using sockets. The program are working fine if I set the client IP to local host (127.0.0.1) or the LAN IP (192.168.0.3), but can't connect if the IP is set to external Internet IP (92.24.xxx.xxx). Anyone have an ideea, please? Thanks!

Member Avatar for yanni13
-1
280
Member Avatar for Diamonddrake

I recently started messing with tcp socket programming. I hacked up a little instant messaging application that seems to work has some little problems but the world isn't in need of more IM clients. but I wanted to know a good practice for sending large files over tcp sockets. i …

Member Avatar for sknake
0
3K

The End.