470 Topics

Member Avatar for
Member Avatar for borchu

Hello everyone, I am new at Java(android)-before I have little information about Java lang- and in particular socket programming -before I do not know nothing about socket client server programming-, previously I wanted to write simple chat program by using Threads and now I pass this step, two android emulators …

Member Avatar for borchu
0
984
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
319
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
Member Avatar for borchu

Hello everyone, I progress step by step my problem, one step is passed -now I can send string datas -text messages- here another step is I want to record some audio sounds by using microphone in first android emulator assume phone1 and send to second android emulator-phone2-. I found whole …

Member Avatar for borchu
0
9K
Member Avatar for MonsieurPointer

Hello DaniWebbers, I have the following classes in their respective namespaces; so far so good. When I have received data from the server, the AsyncTcpClient's *DataReceived* event gets raised and the Client's *OnReceivedData* method gets called. Also so far so good. The one thing that does not work (and which …

0
146
Member Avatar for I_m_rude

Can anyone give me the nest links so as to learn socket programming in C from net ? As i have searched net a lot and also have read many things, but i want you all to tell some more better links. thanks in advance.

Member Avatar for deceptikon
0
175
Member Avatar for n.aggel

Hi to everyone! I want to create a simple chat application using udp sockets. I want to have 2 applications that will be able to talk to each other.In particular app1 will send msgs to p2 and p2 will display them in stdout. Then maybe p2 sends a msg to …

Member Avatar for Ambreshbiradar
0
1K
Member Avatar for riptide355

Hi, I have a database program that creates URL's that look like this... http://www.mywebsiteDB.com/admin.php?toDo=module&module=RESERVATIONS&modsub=reservations or this http://www.mywebsiteDB.com/admin.php?toDo=module&module=RESERVATIONS&modsub=upcoming etc. I need to make a page that inserts fields into the database AJAX style, which I managed to do outside of the database program. However, when I put the code into a …

Member Avatar for riptide355
0
190
Member Avatar for newbie1234
Member Avatar for tunisia

I'm working on some simple socket programming. But I'm not on the most effective way to search for strings once I've assigned buff = skt.recv(some_length). On the client I'm writing currently, I am expecting ASCII strings, like 'mem_usage' 'ip_config' etc. Thanks.

Member Avatar for Gribouillis
0
108
Member Avatar for system_Broken

after execut this command netstat -na have a display which are showing some listening ports and local address and state i want know which port i can use for socket c# programming ?

Member Avatar for samsylvestertty
0
138
Member Avatar for 3e0jUn

Is there any way to host several txt files on a computer without having to dive deep into socket programming? I have a few requirements, though: * People could connect when the app is running * No inteference of Windows * Instructions on how to create a client side software …

Member Avatar for 3e0jUn
0
124
Member Avatar for Code_Geek

I have a problem with the following code.Please help me out #include<stdio.h> #include<iostream> #include<conio.h> #include<winsock.h> #include<winsock2.h> #include<fstream> #include<windows.h> #define WIN32_MEAN_AND_LEAN #include <sys/types.h> #include <streambuf> #include<string.h> using namespace std; int main() { int length; char *buffer; const int iReqWinsockVer = 2; WSADATA wsaData; if (WSAStartup(MAKEWORD(iReqWinsockVer,0),&wsaData)==0) { if (LOBYTE(wsaData.wVersion) >= iReqWinsockVer) { …

Member Avatar for triumphost
0
411
Member Avatar for i08000934

as mention in the title, im currently developing a system which can 1. Scan the LAN and list out all the active nodes. 2. Server able to manage the network access of client PCs.

Member Avatar for i08000934
0
121
Member Avatar for kiwimoosical

Hey, so I have little experience in socket programming or anything in that realm of programming. I want to build a program that allows me to remotely execute code on another computer. What the program would do is I would build a class file based on the code that you …

Member Avatar for lolafuertes
0
85
Member Avatar for M.Waqas Aslam

hello ! may God bless all of us , well i am working on a project in which i need to create a simple desktop viewer , a user can view the screen of any computer in LAN network , how can i do this , as this is very …

Member Avatar for Reverend Jim
0
270
Member Avatar for ckchaudhary

Hi all, ok so i want to make a programme to speed up the internet, may be someting like [idm](http://www.internetdownloadmanager.com/). I googled but all i could find was download managers, nothing related to boost up the downloads or something.. I am looking for a c# solution. I am not expecting …

Member Avatar for ckchaudhary
0
415
Member Avatar for M.Waqas Aslam

hello ! well i dont have any idea about the socket programming ,i am developing an lan chatting application , i want to add the file transfer functionality in it , now you are thinking that why not i share my folder over network , well i dont want to …

0
102
Member Avatar for Taximus

Hi everyone! Can you help me please? I need to write sniffer for internet explorer 9.0 using hooks in c# Is it possible? I searched google.com found some information: SharpCap (packet capture framework for .NET), using .NET Socket class to listen user's activities on the web browser but I didn't …

Member Avatar for Taximus
0
791
Member Avatar for whit89

Hi ive been given some question as part of a homework assignment, just to clarify i dont want the answers to the questions just advice as to where to look for resources. The Socket programming model and how that model works in Java, explaining clearly how Sockets support a simple …

Member Avatar for whit89
0
162
Member Avatar for CPT

Heloo,this wil be my first post here, the reason for that is I can't figure this one out by myself public class Client extends Thread{ Socket socket = null; ServerResponse sr = null; private class serverResponse extends Thread{ InputStream in = null; public serverResponse(Socket socket) throws IOException{ if (socket == …

Member Avatar for NormR1
0
481
Member Avatar for Awah Mohamed

I was wondering how many connections in parallel can one web socket handle? what i mean is if i made a chat socket and a million user connected to it at the same time, will it affect it in anyway? and if yes, what is the maximum number of connections …

Member Avatar for Awah Mohamed
0
1K
Member Avatar for livesinabox

What I am supposed to do is create a C program which implements a "dumb" Sliding Window Protocol Implementing Client Server Program. First the client and server establish a connection between themselves and then the client sends "RST" to the server. The server inturn sends its window size (10) to …

0
162
Member Avatar for CKShia

Hi i am a newbie in C programming especially in the socket area. Supposely i am writing a FTP, and want to **_get_** and **_put_** file in the FTP. However, i have encountered a bug/error when client is trying to get(download) file from server. The problem is as follow: First, …

Member Avatar for histrungalot
0
1K
Member Avatar for ponnds

this is my server code i want to receive more than 1000000 bytes ,so the data should be splited into many packets so i use loop to receive all data ,if i use like this server always wait for client even client sent all data to server ,my messsage is …

Member Avatar for Banfa
0
2K
Member Avatar for Saviour4You

Hello, I am a java learner and have just started learing java by follwing the online tutorials. I am a computer science student and as a part of our assisgnment, I have to design a online CHat system in java. TBH, I have no clue of what to learn and …

Member Avatar for NetJunkie
0
290
Member Avatar for poloblue

Good Afternoon, I'm new to socket programming, and the assignment that I have to do with Server/Client socket programming which I have to write server and client programs to send text across Transport Service Access Points (TSAPs) also known as TCP ports or Sockets. Your program can select any non-privileged …

Member Avatar for Momerath
0
258
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
425
Member Avatar for nchy13

hi i am new to [B]socket programming[/B] and we have to do a project in a month. can u suggest some good project objectives which will look on CV. any help is highly appreciated.

0
69
Member Avatar for begame

Hey there! So I have am writing a multi-chat client for my college course. I have completed most of it, however there is a problem which I am unable to identify. When I conect multiple clients to the server only the the last client to connect is able to send …

Member Avatar for begame
0
189
Member Avatar for eranre

I was wondering if anyone can assist me with a problem that I have with C Bluetooth programming (Linux Bluez). I am using Ubuntu 10.04, BlueZ 4.60. My goal is to have a L2CAP socket in which there will be minimal delay for sending data between 2 computers. So far …

0
180
Member Avatar for Soben

I want to make a simple online multiple player cards game using PHP/Ajax. I guess I need socket programming (I want it to be real time). I've worked with sockets before in Java, but not for an online program, just a network game. I searched but I didn't really find …

Member Avatar for pritaeas
0
154
Member Avatar for Thropian

I started looking into networking and storing/altering data on a computer. I've got everything running, but can't get it to work from an outside computer. Is there an easy way to get past the LAN restrictions or am I going to have to change settings on my router?

Member Avatar for ihatehippies
0
296
Member Avatar for Vampiricx3

Hey guys, i'm here to ask you today what you think of my proposed PC build. It's as follows. [code]ASUS Sabertooth X79 Motherboard Intel Core i7 3930K NZXT Sentry LXE Touch Screen Desktop Fan Controller Razer BlackWidow Mechanical Keyboard Razer Mamba 4G Gaming Mouse G.Skill Ripjaws Z 4x4GB DDR3 RAM. …

Member Avatar for stultuske
0
106
Member Avatar for Jnk

I have a problem with sockets. I am using this code in java as the client: [CODE] class Javaclient { private static DataInputStream input; private static PrintStream output; public static void main(String argv[]) throws Exception { int PortNumber = 4321; String line; BufferedReader in; Socket MyClient = null; try { …

Member Avatar for Jnk
0
251
Member Avatar for beshoy boshra

hi, is it possible to create ad-hoc wifi network using socket programming ? c#

0
102
Member Avatar for flagstone

I am trying to implement a chat program using epoll on the server side. However, the program gets stuck at epoll_wait(). How should I create an asynchronous chat program? [CODE] #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/epoll.h> #include <fcntl.h> #include <netdb.h> #include <unistd.h> …

0
240
Member Avatar for guccimane

I am learning tutorials online about http client programming using Linux. I found these 2 sample programs, but I am kind of confused on what command line arguments are suppose to be passed to it. I think for program 1, string [1] should be the IP address of the url, …

Member Avatar for DeanMSands3
0
141
Member Avatar for transplantedNYr

My question is how do I read from the user Datainput.txt file to get the value of myVal? I can handle all the other stuff required for this, but with out the correct value to start well nothing will be right. public class MyClient { private final int myServerPort = …

Member Avatar for transplantedNYr
0
168
Member Avatar for srinivas88

In a client server program ... generally when the server goes down the client on executing the send command 2 times returns a SIGPIPE signal . I want to know y this happens. The client must recieve sigpipe immediately when it sends a message after the socket connection is broken …

Member Avatar for srinivas88
0
401
Member Avatar for coding101

Where are the function bodies to functions like socket,bind,accept, etc??... Using the c socket network programming for unix based systems, we use the api, but where are the function bodies to these functions. Im doing network programming, and I fill in the socket functions, bind, accept, write, read, etc, but …

Member Avatar for savoie
0
161
Member Avatar for coding101

I am new to network programming, and trying to read a response from a servers webpage. I can connect, but cannot get the pages source. Heres what I have [CODE] #include <stdio.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netdb.h> int main(int argc,char **args){ if(argc < 2){ printf("2 args\n"); return 1; } …

Member Avatar for savoie
0
122
Member Avatar for iraj.jelo

Hi my friends , i have written a program that in client section in error occures frequntly , i think the error comes from socket function in client . what i have to do? [code] # This is my server code , this code has not problem import asyncore import …

Member Avatar for Gribouillis
0
3K
Member Avatar for kchyn

Say I have a server, and multiple clients. Each client (same or different LAN) opens a program which connects to the server. I'm not sure how to ask my question, so I'll just write what I'm trying to do: (theoretical example) Server constantly listens for connection on port 2000. Server's …

Member Avatar for skilly
0
257
Member Avatar for ishanatmuz

I want to know how to download a file using c ? For copying a file in c I do this. [code=c] #include<stdio.h> #include<conio.h> int main() { FILE *inf, *ouf; char ch; inf = fopen ( "file1.ext" , "rb" ); ouf = fopen ( "file2.ext" , "wb" ); while( !feof …

Member Avatar for rubberman
0
300
Member Avatar for abhishek_s_n

Here is a simple code of chat between two peers. According to me, the code does what it should have but I am facing difficulty solving this SocketException error. This code worked fine till i made the last modifications. And now I am finding it difficult to trace the error. …

Member Avatar for abhishek_s_n
0
291
Member Avatar for hadoque

I'm trying to understand socket programming in python by experimenting a little. I'm trying to create a server that you can connect to by telnet and that echoes what you type in the telnet prompt. I don't want to start using threads just yet. This is my code. [CODE]import socket …

Member Avatar for hadoque
0
9K
Member Avatar for janvi.dodia

Hi everyone.. i m developing an application to backup files\directories to a server.. i initially developed it in RMI but then to make it possible to run over Internet i made some modifications and used sockets.. I have designed few packets for sending login details, file information to be backed-up, …

Member Avatar for zeroliken
0
1K
Member Avatar for DavidKroukamp

hi everyone, I am writing a small client and server application in java which uses SSL sockets and AES, i got this from the net and edited it a bit is this correct and secure? client: [code=java]/* * To change this template, choose Tools | Templates * and open the …

Member Avatar for DavidKroukamp
1
205
Member Avatar for jankeifer

can anyone please help me in to creating a client-server using this game? [CODE]#include <iostream> #include <iomanip> #include <map> #include <time.h> #include <cstdlib> using namespace std; //displays the instruction of the game void displayInst(){ for ( int b = 0; b < 28; b++ ) cout << "* "; cout …

Member Avatar for vijayan121
0
150

The End.