8 Topics

Member Avatar for
Member Avatar for suomynona

I made a Client and Server program based on the code found in [URL="http://www.daniweb.com/software-development/csharp/threads/228973"]this thread[/URL]. Here's the code of my program Client (Sender of file) [CODE] //Before calling this function, //I send the file size to the server first private void fileToServer(string filename) { try { FileStream fs = new …

Member Avatar for suomynona
0
421
Member Avatar for masterofpuppets

Hey guys, Here's the problem I have: I am writing a server application in Java using the ServerSocket and Socket classes. I have an instance of ServerSocket which listens for connection and accepts them. The server runs a website that requires users to log in using an e-mail and a …

Member Avatar for masterofpuppets
0
1K
Member Avatar for niranga

Hi, I am working on a project which requires to update a JEditorPane or JTextField simultaneously by multiple clients. It is something like this. [B][1]. There are several users( i.e a group) with the same application which contains a JEditorPane. [2]. There is a group leader for a group( note: …

Member Avatar for JamesCherrill
0
277
Member Avatar for yancouto

Hi everyone, I'm trying to create a program that you can use to communicate to other people with the same program. It connects to a Server program that gets your message an send it to everyone. I found 2 problems that I haven't been able to solve. The first one …

Member Avatar for yancouto
0
791
Member Avatar for Xeex

Hi, I got a server with several of IP's at. Those IP's I want to create sockets through and afterwards from a client, and afterwards send a socket to a webpage. The problem is that I want to use the IP that the client is calling to create the socket …

Member Avatar for richieking
0
199
Member Avatar for omarelmasry

I found a code on several websites for a UDP client and server ... when I run the code of both the client and the server on one computer, it works normally ... but one I work on two computers (one server and the other client), the sever becomes 'Not …

Member Avatar for omarelmasry
0
238
Member Avatar for fusi0n423

So I have to connect to a server on a specific port but all I have to identify the server is its name, e.g. "students.ce.sinclair.edu" in a char*. How can I get the ip address to assign to a sockaddr_in? [CODE]struct sockaddr_in server; memset($server, 0, sizeof(server)); server.sin_family = AF_INET; //server.sin_addr.s_addr …

Member Avatar for abhimanipal
0
161
Member Avatar for Clawsy

Hello, I built a chat application that uses sockets and TCP/IP protocol. The client is an applet. The problem is I cannot connect the applet client with the desktop server application. [I]If I run the applet inside the applet viewer in NetBeans it works perfectly[/I]. I even tried the applet …

Member Avatar for Phaelax
0
153