470 Topics
![]() | |
Hello, Can somebody pls help me out on socket programming in JAVA. Thank you | |
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. | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 | |
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. … | |
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.:) | |
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.. | |
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++] ... /* … | |
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 … | |
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+ … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 > … | |
[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, … | |
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 + " … | |
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 … | |
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. :) | |
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 … | |
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. … | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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* … |
The End.