169 Topics

Member Avatar for
Member Avatar for KhubaibQaiser

I am making a programe based on socket programing in which client can download one of the listed books from server. I have come up with this code but the problems with it are: 1) It doesnt downloads pdf file greater than 1MB. 2) It allows client to download 1 …

Member Avatar for JamesCherrill
0
308
Member Avatar for WildBamaBoy

I'm trying to send data back and forth between two computers using a Socket (TCP). The data is in the form of serialized Packet objects. At an early point in the application, it must send 25 or so Packets of the same type to the other side. See Case 1 …

Member Avatar for Ketsuekiame
0
532
Member Avatar for Subomi

Please, I am trying to build a chat program in python i have built a chat client program and a server program, I want to ask someone told me that I don't need to build a server all i need to do is connect a db server directly and the …

0
163
Member Avatar for ktsangop

Hello! I would like some help with a piece of java code that i'm having problem. I have to make simultaneous tcp socket connections every x seconds to multiple machines, in order to get something like a status update packet. I use a Callable thread class, which creates a future …

Member Avatar for ktsangop
0
523
Member Avatar for sankubha
Member Avatar for JamesCherrill
0
395
Member Avatar for Vaspar

Hello, I have made android application which provides remote desktop administration, I used port 5556 and socket programming TCP. I have to forward this port from router on every computer is there any other way so I can use some open port to communication with android device?? Like TeamViewer doesn't …

0
169
Member Avatar for rom.

Hi there, I need a simple socket server which will echo a client message to all connected clients. I've found this easy py script below, but it only echos the string to the client that sent the message. Any way to mod this so that it will send the message …

Member Avatar for silver.moon.37819
0
2K
Member Avatar for lakshmia

i would like to know the connection between socket and webservice,ws replace sockets?or can i embed cocket programing in ws?

Member Avatar for jwenting
0
117
Member Avatar for Jasonfran

Hello, I am making a Java IRC bot and it all works fine. I connect via a socket and there is a while loop that will output whatever comes through the IRC. But, I also want to accept console input while the program is running. So far I can only …

Member Avatar for stultuske
0
193
Member Avatar for ferizhandi

i want to write a sever application.my sever have some service to client. some of the answer of my server is long(transfer file) and some of them is short(list of online client). when server transferring file to a client , other client request to get online client list. i want …

Member Avatar for rubberman
0
204
Member Avatar for aravind326

Hi, I'll quickly explain what i am trying to do before telling the problem i am facing. **Requirement:** 1. Store the contents of a file into an object. 2. Send the object through HTTP socket to another client server. 3. Have the server fetch the file contents from the object. …

Member Avatar for JamesCherrill
0
214
Member Avatar for srivardhanms

Hi, I have two threads A and B. Thread A prints only odd numbers. Thread B prints only even number. I want to synchronize it in such a way that on the screen I get continues numbers. How can I do that? I was thinking of using sockets. Thread A …

Member Avatar for Yerbantherack
0
269
Member Avatar for Big Tunda

So a few months ago I took my heatsink off, and I noticed that no booting would take place; not even BIOS. Eventually, after continuous and repetitive power ons and offs, it would occasionally work again. I then removed the heatsink again, and the CPU from the socket to inspect …

Member Avatar for caperjack
-1
1K
Member Avatar for PreethiGowri

My TCP/IP server socket is not accepting connections from other systems. When i try to send data from the client to server within the same system i see them working fine, Here is what i get by printing the stacktraces - Waiting for client on port 50000... java.net.SocketTimeoutException: Accept timed …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Ondrej.Behulek

Hello, I have a course that is Operational Systems.. My lecturer doesnt explain so much and after He say, You must solve this problem, because u r a programmer.. I have such a problem with linux programming. I put my code here, He wants, I must allow multi-client to server. …

0
241
Member Avatar for HadoukenGr

Hi, i am trying to make a server client application using sockets in C. Server and client compile just fine but they dont seem to connect with each other and i don't understand why (i just started learning about sockets). My OS is SunOs 5.10. This is my server code …

Member Avatar for Mouche
0
257
Member Avatar for theaamalia

Hello, *We are very much begginers at programming in general, and it would be great if you could keep that in mind when helping us!* Could someone please explain just what a **socket** is? We are working on a program which will solve a 3D puzzle, handed to us by …

0
148
Member Avatar for SamJo22

I'm trying to write a web server but with the code I have but I'm getting the GET/ht.html can't be opened. The html document (ht.html) is supposed to be opened in the browser. What can be added or changed so it'll work properly? The code I have is: #include <sys/types.h> …

Member Avatar for Banfa
0
330
Member Avatar for Fredszky

So i'm trying to make multiple clients logon to a server through filesockets, and perform simple commands like ls -l, ls, mkdir. I've managed to make one client recieve output of ls -l command, sometimes, its buggy. Now i've been sitting for days trying to figure out how to fork() …

Member Avatar for Fredszky
0
6K
Member Avatar for SamJo22

I'm trying to write a web server but with the code I have I'm getting 'open failed'. The html document (ht.html) which is supposed to be opened in the browser. It seems as though the code I have is not opening the file received through the socket hence it's saying …

0
184
Member Avatar for Sandy20

I need to send multiple request (command) to server at port 55005. My first request get process successfully & I received out put also. But for second request it gives error (WSAESHUTDOWN - Error 10058). After first requets I call shutdown(ConnectSocket, SD_SEND); Then only server process the first request & …

Member Avatar for Sandy20
0
829
Member Avatar for desup

Hi, I need just simple help. Could you just give me a tip for some good TCP server/client library for Csharp? It should be easy to use, and can handle big data size. Because I was using a Netcomm library, and while sending Image bytes, It has god frozen. Thanks …

0
165
Member Avatar for Fredszky

Firstly, i'm really new to all this bash/unix/c stuff so i will probably get some words meanings wrong here, but anyway: Im trying to make a client pass simple shell commands to the server, which executes them. They communicate locally on the same machine through a socket. I can make …

Member Avatar for nmaillet
0
231
Member Avatar for communism

Hi I'm creating a socket server in Linux using pthreads. I was just wondering, how does the server send specific messages to its clients (for instance, a PM) if each is in its own standalone thread?

Member Avatar for Lucaci Andrew
0
267
Member Avatar for StinaBremm

For my networking class we have to do an assignment using python to code a client and server that will connect to each other and the client will send these messages: 0 - Response This message is a response to a previous request 1 - Echo Request This is a …

0
148
Member Avatar for chris007

Hi guys. I have a problem.. i am trying to transfer files from one computer to an other(yes i did port forwarding)..the thing is that if i use 1024-1(buffer) and 1024-1(buffer) in both programs it will NOT transfer any file..it will just create a file with 0kb. size.. So if …

Member Avatar for chris007
0
1K
Member Avatar for barfi.anana

i am trying to make a program where i have a server with multiple clients, where a client sends a message to the server and when the server replies to it, the server broadcasts the reply to all the clients. the code has some error and is not working. i …

Member Avatar for np complete
0
3K
Member Avatar for niyasc

I have made a simple socket program so that client can connect to server by specifying ip of system in which server is running. And in server we can type characters which will be received by client and client will store it in a file. I want to clear some …

Member Avatar for np complete
0
5K
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make a program that will send messages from one computer to the other. **NOT** using LAN connection and **NOT** using winsock. EG. I (at my house) would like to chat with my friend (his at his house). Please help.

Member Avatar for ObSys
-1
314
Member Avatar for borchu

Hello everyone, I have problem with my simple android chat program when using different test debugging. I have two android emulators one reads SERVERPORT as 8080 and CLIENTPORT as 8082 and the other android emulator reads SERVERPORT as 8082 and CLIENTPORT as 8080 from a given txt file. Here there …

Member Avatar for borchu
0
2K

The End.