470 Topics

Member Avatar for
Member Avatar for masana1844
Member Avatar for masijade
0
44
Member Avatar for asmith3006

Hi, I'm looking to write a server/client system and I want to pass a hashtable between the two. I've found lots of tutorials on making a "Chat" system which passes strings, but how can I increase this to hashtables? Thanks. Andrew.

Member Avatar for sknake
0
467
Member Avatar for george_82

I am new in C# and I was trying to add socket programming tools from the COM component list .But I found that thee is no microsoft winsock component in that list. So can somebody tell me how to add winsock component to my tool box.

Member Avatar for george_82
1
124
Member Avatar for covertx

Hi all, I've been working on a client/server program for a good while now and can't understand the online help libraries offered from the MSDN site! I am using the Visual C# 8 Express version for .NET. The user enters information into the client side applications and presses a send …

Member Avatar for george_82
0
2K
Member Avatar for delner

Here's a summary of what I want my service to accomplish: 1. X number of applications send objects to my service via socket programming. This service deserializes these objects from each socket stream, and pools them in a list. 2. The application then acts as a relay to Y number …

0
61
Member Avatar for murid

i'm try to send many picture using socket programming in VB 2005 from client to server. but, after i run the program, only the first picture that reach destination server. and there is an error saying that my socket are no longer connected after the first picture are sent. client …

Member Avatar for murid
0
352
Member Avatar for BlackPhoenix

I tried my hand at C++ client/server programs, but they were extremely difficult, even with the "best tutorial" on the Web (Beej's). I could get a basic client/server program going, but it was with "blocking sockets", and all I knew how to do was get the server to send a …

Member Avatar for VernonDozier
0
909
Member Avatar for hihoboy

Please can any one help me in my investigation I am developing an application whose purpose is to change the proxy settings for all applications requir WAN just like firefox,Googole talk ,yahoo,opera ..... etc so far I could do so for IE as I change its own conniectivity settings but …

Member Avatar for sknake
0
103
Member Avatar for willygstyle

Hello all, I'm trying to run a simple client/server socket progaram from a refrence of the net to get my feet wet a bit with network programming. I can connect fine but can't seem to send data from the client due to the fact python is saying its of type"str" …

Member Avatar for willygstyle
0
193
Member Avatar for akulkarni

i have subject advanced java programming in my syllabus i will be learning socket programming servelets, corba,AMI,java beans etc. I have heard about apachetomcat server.How do i get the required software from net.thanks

Member Avatar for BestJewSinceJC
0
141
Member Avatar for slacke

I have lots of Drytek > Vigor 2700,2800 routers on the public net. I manage this networks and since this type of routers has Log support I write an application on my linux box to collect those logs. The routers are sending UDP datagrams to a configurable address and port. …

Member Avatar for slacke
0
211
Member Avatar for Dixtosa

Hello All :) i have an IP : 93.93.165.125 and my friend has an IP : 96.156.25.125. and i want to send file(200KB) . what can i do? sory for my english.:)

Member Avatar for leegao
0
86
Member Avatar for hvardhan1000

How to get and set SNMP protocol variables of a router...? Is IP address really an SNMP variable ? Which method or what code should I use for sending the snmp GET and SET packets to that router? will socket programming be efficient? PLs give example..

0
50
Member Avatar for rciprogrammer

Hi I am 'trying' to get my head around multi-threaded programs. I have a working program (single thread) that uses a socket to listen on a particular port and exchange info with a client(s). The basic program structure is this (most declarations and error-checking removed for clarity): [code=c++] ... /* …

Member Avatar for rciprogrammer
0
244
Member Avatar for dads

Hello I've writing a application that is consists of a wxpython notebook and each page is a form to fill in, parcel query form, holiday form, product query form etc. Then there would be a button on each page to press that would create a simple text file that'd be …

Member Avatar for Stefano Mtangoo
0
90
Member Avatar for scsachira

I'm designing chat application these days.. I tried several samples which i found from the web.. I designed Server and Client.. When i run client in my machine, server get it nicely.. but when server in my machine and client in other machine, server doesn't detect client.. I tried 5+ …

Member Avatar for scsachira
0
128
Member Avatar for makymakaru

hi.. i'm very new in this programming thing but i need to make this hello world program work in windows and linux environment. thing is i encoded the program below and i used cygwin and andlinux to compile and i still get i think some errors. I'm lost.. really i …

Member Avatar for makymakaru
0
182
Member Avatar for makymakaru

hi.. i'm very new in this programming thing but i need to make this hello world program work in windows and linux environment. thing is i encoded the program below and i used cygwin and andlinux to compile and i still get i think some errors. I'm lost.. really i …

Member Avatar for makymakaru
0
463
Member Avatar for gudivada213

Hi, i wrote the socket script in python, Here both server and client running in under same machine. operating system is ubuntu 8.10 desktop version. [B]tcp server[/B] [CODE] 1 #!/usr/bin/env python 2 3 import socket 4 import sys 5 6 server_socket = socket.socket(socket.AF_INET,socket.SOCK_STREAM) 7 server_socket.bind(("", 5000)) 8 server_socket.listen(5) 9 while …

0
86
Member Avatar for gudivada213

Hi, I am new to socket programming, I have a generated data for every minute in client side and i want to send this data to server for every minute using python script. Client laptop having Airtel GPRS connection(in moving vehicle) and server desktop at my home. Both client and …

0
63
Member Avatar for giora88

Hello. I have a question about socket programming. I am using Linux. I want to establish a connection between a client and a server using the methods: Server: socket(), bind(), listen(), accept(), connect(), send(), recv(), close(). Client: socket(), connect(), send(), recv(). My question is: If I am a client and …

Member Avatar for Salem
0
125
Member Avatar for Thew

Hello, I am a beginner in Windows socket programming and I want to know, if there is some way how to create an UDP packet with no source IP address (or with some different on another network) so when it is forwarded to the destination, receiver will not be able …

Member Avatar for Thew
0
560
Member Avatar for mg0959

I have written a program that is supposed to take a string via a socket connection and echo it back. This program is also run as a service. I can get a client program to connect to the service if the client program is on the same machine as the …

Member Avatar for mg0959
0
153
Member Avatar for neutralfox

Hello friends, As usual .. when i have a problem ... daniweb.com is here ;). So I need some information from you. Ok, let me explain ... I am currently developing a chat application ! Ok ... everything works fine till now but I have doubts. My application uses 3 …

Member Avatar for JamesCherrill
0
154
Member Avatar for Talguy

For my Electrical Engineering summer research project we're using a single mysql server and multiple iPhones. The iPhones are going to collect data and send it to the server which will populate the database with the data. I am new to socket/network programming so I need some pointers to my …

Member Avatar for Salem
0
83
Member Avatar for henks

Greeting, I'm currently programming a client-server connection with single socket...I use Linux C programming for server side, and J2me for client side, and here's the problem... The login function run successfully for the server side, when It's a null exception for the client. The error is as follow: [CODE]java.lang.NullPointerException at …

Member Avatar for kvprajapati
0
135
Member Avatar for zuzu22

Hello friends, Since I'm not too familiar with win programming may I ask a dumb question. I made a small app on D7 using TclientSocket which connects to some embedded server and request some data. Now I use string based functions like sock.Socket.SendText('text to send'); but I send pure binary …

Member Avatar for FlamingClaw
0
231
Member Avatar for Bhoot

Currently I have started with my college project - Network monitoring, which may include features like keylogging, application blocking, h/w restrictions, catching snapshots, file operations surveillance, etc. (i mean as many as i would be able to add.) The platform for this project is C#.NET which is new to me. …

Member Avatar for Bhoot
0
643
Member Avatar for niku4u

Following is my client code....I am receiving data of equal size of JPG file... so if anyone can help me out with reading buffer properly and writing it in to jpg file at client side ================================================ do { memset(buffer,0x0,BUFFER_SIZE); // init line rc = read(sd, buffer, BUFFER_SIZE); if( rc > …

Member Avatar for niku4u
0
493
Member Avatar for dustman

[I]<< split from [URL="http://www.daniweb.com/techtalkforums/thread28858.html"]this[/URL] >>[/I] [quote=Narue;145474]>u asking me if i cant code why should i be asking about sockets? No, I was asking you what you know so we don't waste time going over things that we don't need to. But if you want to be a dick about it, …

Member Avatar for jephthah
0
168
Member Avatar for neutralfox

Hello guys, I want to know if its possible to use the same socket to transfer two things at the same time. [code] // set up input stream for objects input = new BufferedReader(new InputStreamReader(clientsoc.getInputStream())); // set up output stream for objects output = new PrintWriter(new OutputStreamWriter(clientsoc.getOutputStream())); output.println(nickName + " …

Member Avatar for neutralfox
0
174
Member Avatar for metal_butterfly

I am designing a system which will broadcast a message to all the nodes in a cluster.And the receiving node should send a feed back to the broadcasting node.When i get a single feedback from any of the receiving node, the broadcasting node should stop receiving the feedback.With that feedback …

Member Avatar for ajay.krish123
0
114
Member Avatar for Acedia

I'm bored, if there's any socket programming that someone needs post a comment, and I'll see what i can come up with. :)

Member Avatar for Acedia
0
94
Member Avatar for metal_butterfly

My problem definition is ,I have to send a message from one node in a network and it has to be broadcasted to all other nodes in the network.The program what I have given below will be running in all the nodes in the network.The same program should be capable …

Member Avatar for jephthah
0
216
Member Avatar for drjay1627

Hi, I did a project a while back and as the grading TA insist on it compiling on Solaris. I have a 0 for a perfectly working project. Can someone please help me with getting a program to compile on both the free free bsd and of course annoying Solaris. …

Member Avatar for drjay1627
0
81
Member Avatar for Prabakar

Hi everyone, I am a little new to Java programming and am doing a simple project. The Problem is that I am able to connect but am not able to send any data. It is a little weird. The server gets the client's IP and the client to is connecting …

Member Avatar for Prabakar
0
98
Member Avatar for metal_butterfly

hai I am new to socket programming.Its greek and latin to me.can someone tel me wat actually happens with socket programming.Or can u plz suggest some good links for socket programming tutorials

Member Avatar for jephthah
0
92
Member Avatar for Nicris

Hi every1 ........ i am new to socket programming and TCP/IP V have to do a package in it........ Suggest me some topics and some reference books which would b helpfull for socket programming............ :-/ some1 plz help

Member Avatar for mcldev
0
110
Member Avatar for neutralfox

Hello everyone, I am having a problem, I want to transfer the data from a text field which is found in the class "ServerInterface" to a method in another class "Server". I wanted to transfer data to the method "sendData()" in the class Server when the user enter data in …

Member Avatar for neutralfox
0
89
Member Avatar for jk_bscomp

hello everyone!!! I am currently working in socket programming in java and I am creating a simple chat application... To go directly to my question, ServerSocket server = new ServerSocket(1024); Socket socket = server.accept(); String hostname = socket.getInetAddress().getHostName(); System.out.println(hostname); If I will run my Server program, the output will be …

Member Avatar for JamesCherrill
0
174
Member Avatar for dmorison

Hi Guys, I'm having a problem with the below code. It's probably a simple mistake as I'm relatively new to PHP, and even newer to socket programming. The background is that I'm developing a socket server for a multiplayer game. Here is the relevant code: [CODE]class PlayerList { var $plist …

Member Avatar for dmorison
0
111
Member Avatar for karthik.c

hi guys ,im new to perl programming and when i programmed tcp client-server coding in perl i encountered some problem saying : Can't locate socket.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-...) i tried this in linux-centos and version of perl im using is: v5.8.5 my program was like this: tcp-server: [code=perl] …

Member Avatar for karthik.c
0
185
Member Avatar for sweetApple

I am creating a program that involves a simple agent navigating a grid world to discover food. I am having trouble creating a unique class for the agent (which contains data members that represent its perception of the world - direction of the smell of the food, a visual 5x7 …

Member Avatar for sweetApple
1
139
Member Avatar for axelgeorge

Hello everyone, I'm a moderately experienced C++ programmer who has decided its finally time to learn socket programming. I want to learn by writing a simple client/server pair of apps. The client will send a simple text string across the network to the server. So far, I've only worked on …

Member Avatar for Salem
0
78
Member Avatar for tuse

Hi! I am trying to initiate a client-server talk but for some reason it is not working. The server starts running, but when I start the client nothing happens. Please point out the mistake in my code- Server- [code="java"] import java.io.*; import java.net.*; public class MyServer { public static void …

Member Avatar for tuse
0
114
Member Avatar for axfv

From Beej's Guide to Network Programming: [QUOTE]How can I set a custom timeout value for a TCP or UDP socket? It depends on your system. You might search the net for SO_RCVTIMEO and SO_SNDTIMEO (for use with setsockopt()) to see if your system supports such functionality. The Linux man page …

Member Avatar for AlbertPi
0
98
Member Avatar for deathdarts

Hi all, I am pretty new to Object Oriented programming so the question i am asking might be childish..geeks, pardon me :) alright, i have an interface with 5 methods. Class A is implementing that interface. Now Class B creates an instance of Class A and calls the methods. The …

Member Avatar for LizR
0
85
Member Avatar for vicky_dev

Hi, Please let me know if this post doesn't belong here... I couldn't find a dedicated forum for network programming, so posted this here. [INDENT]I'm developing a client and server for using Winsock/TCP/C++. I'm relatively new to network programming and have a few doubts :[/INDENT] [LIST=1] [*]Suppose I send 8 …

Member Avatar for vicky_dev
0
253
Member Avatar for smnadig

Hi, I am working on [B]"Creating A Multiuser Chat Application"[/B] in C#. The code is generating an error -- [B]"SocketException unhandled -- The requested address is not valid in its context"[/B] when it executes [B]listener.Start(); [/B]method. Can somebody kindly help me resolving this? Please find the code below for your …

Member Avatar for LizR
0
126
Member Avatar for AutoC

I have a c++ program that performs a functionality. generate.h [code] struct code { bool out; bool *reg; }; class Cyclic { private: struct code *cy; int rgsize; bool *gen; int gensize; unsigned short cycodes[256]; public: Cyclic(int a, int b,bool c[]); void leftShift(); bool* cyclicCode(bool mssg[],int msize); void printReg(); bool* …

Member Avatar for ArkM
0
229

The End.