470 Topics

Member Avatar for
Member Avatar for kohuke

Hi. The program works fine if i just compile and run. But for the program to get graded it has to pass a test written in python which it does not. Since i'm complete dummy at c and programming if you find to explain, dumb it down please... so here …

Member Avatar for kohuke
0
132
Member Avatar for b007

Hi, I would like to share over the net folder with users. How to I set permission on folders and files by using C#? the users are not windows authentication , the users are from a registers list of users. Please refer to microsoft folder sharing application on [url]https://foldershare.com/welcome.aspx[/url] I …

Member Avatar for LizR
0
238
Member Avatar for AutoC

Hi, I want to transfer a file as it is via a socket...not read the file contents and send it.How can I do this?

Member Avatar for AutoC
0
1K
Member Avatar for darthrevan

For learning socket programming this program is a nice tutorial , IpShower can show you a site ip adress , inform you whether you connect through a proxy server or not , if you connect a proxy , program tells you its information.Also , it can simply change the system …

Member Avatar for stultuske
0
36
Member Avatar for iamtuxmeister

I am new to the world of compiled programming languages. I do most of my work with Perl and bash scripting. I was recently asked to pursue a listener to the Asterisk Manager Interface that will be able to pull out caller ID information based on the extension that the …

Member Avatar for Salem
1
252
Member Avatar for biased36

Hi everybody, I am Tanmoy. I just wanna create a simple server-client chat application in C#. I have downloaded the source code from the link below: [url]http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c7695[/url] If the server & client both in same PC everything is OK. But if the client application tries to establish a connection to …

Member Avatar for LizR
0
135
Member Avatar for c++ prog

hi, my problem is about socket programming. My code below only connects the client to the server, and it works just fine. However, I should create a 2player game which of course require the interaction of the 1st and 2nd player. The problem here is that they really don't interact …

Member Avatar for c++ prog
0
128
Member Avatar for c++ prog

this code is a game that uses socket to be able to connect to each other so that there would be a 2player game.. but there something wrong here...here's the code..i'm using linux as my operating system ..this is the client side.. [CODE]#include <stdio.h> #include <iostream> //#include <conio.h> #include <stdio.h> …

Member Avatar for Salem
0
84
Member Avatar for gin1026

hello evryone, im new in C++ programing. currently i working on my final year project. at the first place, im study in INFO COMM. ,more specific in network management area but since my project is assigned by my lecturer and the project itself involved some programming skill, i gt to …

Member Avatar for gin1026
0
525
Member Avatar for predator78

[COLOR="Green"]Hello all, I'm new to the forum and also to python :D. Anyway I have been enjoying it quite a bit and wanted to start into something a bit more technical. So I though sockets would be a good start. I found a great sight , but the first script …

Member Avatar for predator78
0
146
Member Avatar for sherest

Hi! I'm a web designer and have a little bit knowledge of action scripting (both as2 and as3). Now these days, I'm working on a new flash project regarding multi-user poker game. I've never worked before on these kind of projects, but when I was searching on google about multi-user …

0
39
Member Avatar for vistovistor

Hello daniweb, This is my first post, and coincidentally my first program! (more like a script though I am told) At my work there is a lot of programmers, unfortunately they do not like Python. I cannot agree with their sentiment! It is my first language (computer wise) and so …

0
67
Member Avatar for sparty

Ive recently spent a lot of time using BSD sockets in Linux to do socket programming. I have written this howto with samples to show a person how to send a message buffer. Feel free to comment on this and correct anything that you think i have said wrong or …

0
66
Member Avatar for rati

Hi All, Can anyone please tell me how can i get the socket.dll for writing socket programming in php. Thanks

Member Avatar for nikesh.yadav
0
64
Member Avatar for BradenMurphy

Hi i would just like to know how wud u display the client's IP address when the client connects to the server. This is found on the servers side while waiting for a connect. now i just need to display the client's IP address in this while loop but how:/ …

Member Avatar for BradenMurphy
0
277
Member Avatar for chinturaj
Member Avatar for lsquared

Hey guys. I've been programming in java for about a year now but I've just recently been learning socket programming before my last semester of my computer science class. I have to do a project and I was thinking about making a client/server program. I've landed on making an instant …

Member Avatar for Alex Edwards
0
90
Member Avatar for Hannahlv

Hi everyone! I'm doing my project related to socket programming. The send and receive part I got problem. The code is below : Server side: [CODE] printf("Handling client %s\n",inet_ntoa(their_addr.sin_addr)); if (send(new_fd, "Menu\n", 5, 0) == -1) //(1) perror("send"); if(send(new_fd, "1. A.mp3, 2. B.mp3, C.mp3\n", 26,0) == -1) //(2) perror("send"); if(send(new_fd, …

Member Avatar for Salem
0
131
Member Avatar for vadan

Hi, Iam very much new to programming and C++ please help me I have an application that uses socket++ classes on Unix (AIX) environment I have included #include<sockinet.h> in two of my .cpp files and I have socket++ source in my temp directory when iam trying to compile my application …

Member Avatar for Ancient Dragon
0
79
Member Avatar for ingeva

Searching for a solution to my problem I found this forum. Hope someone here can help. Instead of manually updating a table by using copy/paste from a web page, I would like to read the page directly from php. Pasing the contents would be a breeze, but I have no …

Member Avatar for ingeva
0
76
Member Avatar for m_sam6

hi i m new to java programming and i want to make a voice chat which access a sql server db and extract ip 's of all clients that every one log in by ip (on LAN) and the problem face me now is to broadcast voice to all these …

Member Avatar for m_sam6
0
125
Member Avatar for Rodlikespants

hi, I don't use python very often, and I don't have a lot of experience with network programming either. A friend of mine came up with a problem, and I was wondering if anyone could help out: "I need to connect to another computer with a UDP socket and TCP/IP …

Member Avatar for tzushky
0
98
Member Avatar for lllllIllIlllI

Hi I was wondering if there was any way i could use a module or some code to enable and disable my wireless network becuase i often have the problem that it wont connect and enabling and disabling it a number of times nearly always fixes it and i was …

0
50
Member Avatar for tondeuse34

Hey guys, recently i started with socket programming in python and still doing it. And i decided to do a project, its a text based GUI with different options that are related to Networks, but ive had trouble with it looping back to the menu which the input is represented …

Member Avatar for jrcagle
0
119
Member Avatar for lalalu

Hi I am wondering about the syntax to convert the value in address.sin_addr.s_addr into readable ip value (ie reverse of inet_addr?). btw I do know we can just use address.sin_addr to get the ip, but i need to use s_addr to pass ip infos between clients thanks in advance

Member Avatar for jephthah
0
105
Member Avatar for shrutijadhav

i am trying socket programming in linux(fedora 7) using C language. i want to send a buffer from server to client,and vice versa. but the contents are not getting saved.the contents are unsigned long so i am converting them into ascii usinf sprintf and then saving in buffer.but its not …

Member Avatar for Major Major
0
162
Member Avatar for shrutijadhav

i am trying socket programming in linux(fedora 7) using C language. i want to send a buffer from server to client,and vice versa. but the contents are not getting saved.the contents are unsigned long so i am converting them into ascii usinf sprintf and then saving in buffer.but its not …

0
75
Member Avatar for squinx22

Can anyone tell me where I can get some tutorials regarding Socket programming over http. I want to make an application that enables the user to login to Yahoo IM. pls help me... Thanks...

Member Avatar for jk_bscomp
0
64
Member Avatar for Stack Overflow

Hello, I am trying to determine the best possible solution to accomplish a simple, yet complex task. ([i]Regarding: Socket Programming[/i]) I've been working on a new project for quite some time and have written a custom framework from the ground up. It's more or less a ([b]Client --> Server --> …

0
143
Member Avatar for cmrhema

Hi, we are currently having an console application in C# and asp.net. Its a client server socket programming. We have to convert it into assembly langugage. We are going to implement in linux server Kindly let me know which assembler and linker have i to download (free download). And please …

Member Avatar for sDJh
0
85
Member Avatar for pralu
Member Avatar for jephthah
0
412
Member Avatar for ghaith

Hey, I'm new to Socket Programming, and i've only learned C recently so probably what i'm asking will be very obvious, sorry in advance (= ok Here's my code [code=C] /* * File: Inside_Client.c * Author: Ghaith Hachem and Adel Youssef * * Created on March 17, 2008, 6:12 AM …

Member Avatar for jephthah
0
236
Member Avatar for gsivaram

i need to bind socket address and port for ipv6 programming... i canoot able to bind global ipv6 address by using normal bind command.... help me to bind ipv6 address and port number

Member Avatar for jephthah
0
120
Member Avatar for kireol

I'm was a web application developer for years. I'm dabbling in programming in a dialog/event environment by writing an app on my AT&T tilt(PPC). big change for me. I wrote a simple app on my tilt that connects to a server, gets data, and updates some controls with the data. …

Member Avatar for vijayan121
0
129
Member Avatar for winky

Hey all, I am currently learning about socket programming in my Networking class. Our teacher gave us an example of a server class for it, and while I was trying to build it I came across the error of it not being able to identify socklen_t. I am guessing that …

Member Avatar for fida hussain
0
159
Member Avatar for kelvinskk

Hi, I'm still pretty new to socket programming and I'm using Fedora Core 5. Currently I need a simple IPv6 client to send text messages to an IPv6 Server. From some sample codes that I have gotten, it could work in IPv4, but the code could not work in IPv6. …

Member Avatar for kelvinskk
0
757
Member Avatar for winky

Hey everybody, My current Networking teacher gave us sample code to show us how socket programming works. Problem is, I haven't had to use JAVA in so forever, let alone ECLIPSE (although I hear it's pretty nice). So, I was wondering how to get the program to work. I have …

Member Avatar for DangerDev
0
475
Member Avatar for kaifansari

Hi Friends, I want to connect my microcontroller based project with GPRS Modem using TCP IP stack to my site (myserver.com), when i use tcplistener and tcpclient on server it gives a security error on port, is there any method to send data to my server using tcpip. I urgently …

Member Avatar for majestic0110
0
122
Member Avatar for n.aggel

in the book "advanced programming in the unix environment" the authors give the following function to "deamonize" a process [CODE=c] void daemonize(const char *cmd) { int i, fd0, fd1, fd2; pid_t pid; struct rlimit rl; struct sigaction sa; /* * Clear file creation mask. */ umask(0); /* * Get maximum …

Member Avatar for Salem
0
143
Member Avatar for H a R o O n

Following is a C++ client(Network Programming) code, I need to translate it to TCL, if anybody can help me, I shall be thankfull ... [code=cplusplus] //<CLIENT.CPP> #include <iostream> #include <conio.h> #include <string> #include <winsock2.h> #include <fstream> using namespace std; void main() { string ip = "127.0.0.1"; int port = 6789; …

Member Avatar for Duoas
0
506
Member Avatar for n.aggel

hi, i want to begin socket programming and interprocess communication but i don't where to begin....can anyone suggest some sources?? thanks in advance, nicolas PS:: sorry if the question is vague, but it isn't easy to be more specific....

Member Avatar for stupido
0
191
Member Avatar for priyankaprakash

Hi all!! i was just trying to do socket programming in ASP.Net. Can somebody plz help me with it??

Member Avatar for priyankaprakash
0
100
Member Avatar for Ricle

Is there any API provides easy threading and socket programming in C++? I am programming in VC++6 environment. Thanks.

Member Avatar for vijayan121
0
67
Member Avatar for mpplumb

Hello, I'm looking to dowload a bunch of .csv files from different web address' using c++. I'm pretty new to c++ but not to computers or object oriented programming. What is the best way to go about developing this downloading functionality and what is a good guide for learning how …

Member Avatar for mpplumb
0
134
Member Avatar for thiyagu_mca2006

Hello EveryOne, Im Thiyagu Junior Java developer, can any one help me for design pattern or idea to develop HTTP monitor in Java. The objectives of HTTP monitor is - to log/view all URLs that is requested or visited by the system user via webrowser. - it can be a …

Member Avatar for jwenting
0
137
Member Avatar for jaepi

I've been reading a lot since Monday (mostly socket programming in Linux) and all I get is creating basic socket servers (like echoing, hello world and stuff). My task is to create a web server and all I can see are socket server tutorials? Am I gone or something? Could …

0
51
Member Avatar for jaepi

Hello there, I'm currently practicing network programming under Unix system. I have here a sample code from the tutorial. I compiled it, it has no errors. But when I execute it, it prompts me this "connect: Connection refused". What do you think is the problem. Here's my code: [code=c++] #include …

Member Avatar for jaepi
0
185
Member Avatar for Masood Ali

I am developing a C++ application which deals with socket programming. When I build my program, I get an error as follows, [code] ------ Build started: Project: AFEClientPublic, Configuration: Debug Win32 ------ Linking... LINK : fatal error LNK1104: cannot open file 'wsock32.lib' Build log was saved at "file://d:\AfeClientPublic43\AFEClientPublic43\Debug\BuildLog.htm" AFEClientPublic - …

Member Avatar for vijayan121
0
301
Member Avatar for fatboysudsy

Hi all, Am fairly new to the programming world, but am kind of struggling along. I have written a piece of code for a client program with has given me some errors that i just can't see when compiling. The errors listed are : client.c: In function `main': client.c:118: error: …

Member Avatar for WaltP
0
98
Member Avatar for eldoc

Hi My hosting company no longer permits connection to any port other than standard ones and I am in the middle of a project that is best solved via sockets (I think). I use a mysql database and connect to it via php. I need 4 people to use client …

Member Avatar for eldoc
0
111

The End.