5,682 Topics
![]() | |
Hey all! I am interested in learning to use sockets. make client and server program. Where should I begin? Thanks! | |
hi at all, i'm wirting a program (a chat) to connect two process via socket using ssl connection. In order to make portable this chat i've written a single body formed by two threads, the first has a client behaviour (users can connect to other users) and the second thread … | |
I am trying to create a licensing system where you have a license key as a variable in a file. Then, it includes a file that's on an external server. The server then does all the validating, and returns whether the key is valid or not. The problem is, an … | |
VPS (RAM:3GB) vs Dedicated server (Core2Duo 2.13GHz, RAM:2 GB) Which one have the best performance? | |
I am working with Java RMI. I have created my client in netbeans. After failing to use rmic in netbeans i created stub file using rmic on command prompt and placed the file in my project folder's build\classes directory.Now when i run the server from command prompt, binding takes place … | |
Server Code [CODE]import java.io.DataInputStream; import java.io.DataOutputStream; import java.net.ServerSocket; import java.net.Socket; /** * * @author efron */ public class Server { public static void main(String[] args) { try { ServerSocket serverSocket = new ServerSocket(Integer.parseInt("49999")); System.out.println(serverSocket.getLocalPort()); while (true) { System.out.println("Waiting for Client...(port = " + 49999 + ")"); Socket acceptSocket = serverSocket.accept(); … | |
I'm trying to do some socket programming in java. what i have is, i've written this program to create a server and client on my local machine and make separate two threads for socket input and out put in [B]Se.java[/B] file. Similarly two separate threads for socket input and output … | |
I am currently writing a Client and server program and I have no idea where when wrong with the write function It calls the function [CODE] writeToclient (int clientFd) { tatic char* win = "you win !"; write (cliendFD , win , strlen(win)+1) ; printf("test"); } [/CODE] it execute the … | |
i want to send a private message to particular client by selecting number in comboBox. but had tried to code it but message still end up receive the message at every clients side that connected to server. i want to send the message using the worker socket object stored in … | |
Hello everyone, I am trying to create GUI for a given chat client below but I am having trouble starting it off.... I'm not quite sure if I should create a frame or to extend Applet inside so I can create the GUI if i can get any input it … | |
Hi all, Anyone know how to create a dynamic gridview with the following specs: 1. Fixed datasouce (sqldatasource) with a fixed string connection (and database name) 2. Fixed select statement: "SELECT * FROM " + <table name> 3. <table name> came from textbox input and there is a button available … | |
Hello. I have a piece of code currently where I have a JFrame that I have removed the title bar and borders etc from using .setUndecorated(true). I have tried a number of ways with no success to make this window draggable by it's client area. [CODE] JFrame f = new … | |
I was given a client and server and I have to create a gui for it. I have done the entering part using the JTextField and the problem is getting the output of the class to go to JTextArea. (Its a Client server simple chat program) Here is the set … | |
Hi there, I wrote this client/server code but i can't make it work. and every time i try to debug the code the program goes in an infinite loop when executing the receive function. This is the client code [CODE]package client; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import … | |
Not sure if this is a PHP problem or IIS7 issue: My form is used for editing client information, and it has worked flawlessly for the last year until now. Some clients have more "Notes" about their file than others, and recently clients with a lot of "Notes" have been … | |
hello, i have client server program, problem here is that the client program cannot receive message sent from server. the server is working fine, can send and receive, but the client only can send, unable to receive. please help me, thank you very much here is the client code: (richTextBox1 … | |
i want to know that how to make a dynamic website in flash which can send and receive data from server.i want to make a blog in flash.so what languages are needed to implement this ? | |
i m using mtom feature in jaxws web service to send image from server to client and i m getting the following error pls i apreciate any help. error is Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sun/x ml/stream/buffer/XMLStreamBuffer at com.sun.xml.ws.api.addressing.AddressingVersion.<init>(AddressingVers ion.java:436) at com.sun.xml.ws.api.addressing.AddressingVersion.<init>(AddressingVers ion.java:67) at com.sun.xml.ws.api.addressing.AddressingVersion$1.<init>(AddressingVe rsion.java:146) code is [CODE]package services; … | |
hello, i want to show the client's ip and machine name in ListView. Please help, Thank you. i also created code the collection for the listview collection [CODE] class ClientCollection { public string userIpadd { get; set; } public string userPcname { get; set; } public ClientCollection() { } } … | |
I am currently having a very similar problem. I followed the directions in the sticky. Here are my log files from GMER and DDS I will follow up with Malwarebytes log when it finishes. My connection to my network has been acting up since this started as well it wont … | |
Hi all, I have a problem with my code. I use in a struct variable type time_t with name tt like [CODE] typedef struct{ time_t tt; } [/CODE] then I initialise in the main function of my server [CODE] time_t timer; timer=time(NULL); [/CODE] I pass the timer in my shared … | |
What I have is a linksys wrt54gs(dd-wrt) router assigning private ip's to my workstations. I also have a Windows Server which i need accessible for Windows Remote Desktop Connection to my remote office in Costa Rica. I'd like to have the server have one of my 5 static public ip's(so … | |
Hello all, First and foremost I would like to thank anyone who will end up contributing to this thread. I'm relatively new to PHP/MySQL and did a site migration for a client to a different server. The website was working perfectly fine before, however now I am getting these errors. … | |
Hi, I am new to JSP, I have to store images from the clients on to the server, via client input, what will be the best practice to store the images on the server keeping the performance issues in mind as thousands of images will be stored... 1. should i … | |
hey frnz... can any1 tel me how to create a simple software in c#? i need to create a software n connect another system to my system (which acts as a server) n make d other system to download d created software setup... plsss help | |
I need to create a simple http client to a web server and my code is the following: [CODE]#include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <errno.h> #include <arpa/inet.h> struct sockaddr_in wserver, cl; struct hostent *rem; int fd, newfd, len, l; int main(int argc, char … | |
Thank you kindly for any assistance. After countless Google searches for help or info and nothing found I surrender to anyone who may help please. Ongoing for several months: Dual Monitor system - simultaneously both monitors randomly flash/blink (looks similar to a screen shot flash). This happens at system start … | |
I've designed a C# game that makes use of an Access .mdb database file to store variables. The basic idea is that one of the players will 'host' a game, and the other player will join said game, by connecting to the database, reading and writing items into the database. … | |
Hello! I just made a LAMP server out of an old computer, Ubuntu 10.04. Everything is set up properly, or so I thought. Whenever I upload a file to the "public_html" folder via ftp, the permissions are reset so that it says "Forbidden" when I try to access it. Then … | |
Hello everyone..I'm trying to access the methods of a WCF service from a pocket pc emulator..I added a Web Reference to the service and tried to access the method like this [code] WebReferenceService1.Service1 client = new WebReferenceService1.Service1(); MessageBox.Show(client.GetData(10,true)); [/code] ..but everytime i call the method..i get System.Net.WebException error saying "Unable … | |
i am trying to send a file between a client and a server using sockets in C....well i see that there is a function sendfile(), but i donno its usage, can someone guide me with an example how to send a file and receive it..... | |
Hi guys, I'm taking a Networking & Internet Systems module... have little experience working with java and am trying to work through an assignment... hopefully you can help! I've been given skeleton code to complete for a program that acts as a simple email client that uses TCP/IP sockets to … | |
Last night my computer got infected with the Windows Fix Virus. The link below provides pretty much an exact description of what has been going on with my computer. [URL="http://reimagerepairreview.com/2011/07/11/remove-windows-7-fix-virus-desktop-is-empty-missing-shortcuts-icons-on-start-menu/"] http://reimagerepairreview.com/2011/07/11/remove-windows-7-fix-virus-desktop-is-empty-missing-shortcuts-icons-on-start-menu/[/URL] I immediately installed and ran Malwarebytes from a USB drive, but it had no effect. I was then able … | |
Hi, I have downloaded the latest dev build of Google Chrome (Version 17.0.942.0) which is the latest dev build. Thanks.which supports the hybi 10 websockets protocol. After running the websockets server (IP 192.168.2.12), if I try the websocket client program on the server itself, it works. However if I run … | |
Hello....i am trying to send a file from server to the client using socket programming in C, how do i do this?? basically the client is trying to download a file from the server.... | |
I have an Exchange account setup in Outlook 2007. I've been racking my brain on how to set up e-mail rules such that they'll show up in Outlook and be server-side rules. The odd thing is that I have server-side rules set up in OWA (even though the rules have … | |
We use Macola Progression as our ERP at my company. Currently, it runs on the Pervasive.SQL database backend, also known as Btrieve. However, we are converting to MS SQL Server. I am (trying) to perform the conversion. With Pervasive, there is a client installed on each workstation before Macola is … | |
Hello, I have a project in which I have to write a client program for the finger protocol. It's a very, very basic program which covers the basic socket() connect() connectToHost() and read()/write() functions. I am having a small problem which I cannot figure out. My program compiles perfectly, no … | |
Hey everyone. I have recently decided to try and learn how to use java Sockets for client/server communication, as well as swing and threads, etc. and have (pretty much) completed a small client server application. The application is basically a syntax-highlighting notepad, a client swing GUI which connects to a … | |
I would really like to build an application in C# that will send out faxes and e-mails. [B]On the client side[/B] (I could do this in C# or php) I would have a few customer groups setup to select from. Each group is pulling data from our customer data file … | |
hi, what is the best password encryption to use on a website with mysql backend? i have used md5 and sha1 in the past however which is best? crypt? â—¦RJINDAEL ? what is best to use? they wont be recovering the password only sent a new password if forgotten. so … | |
Hi all, I just wanna know how to send a file through a socket connection in C language "client request a certaion file on server and server send him this file" i work on both winsockets and bsd sockets "client ==> windows, server ==> *nix" Thanks alot :) | |
hello guys, can you pls tell me now to go ahead with this, basically i just want client to say "C:\temp" ENTER then, server must reply with all its files in c:\temp Is there a way to do this, or may be i am wrong, can u tell me any … | |
hi Is this possible to send a request to servlet from socket client? I use request.getInputStream method to get client request. I got an error HTTP/1.1 400 Bad Request Server:Apache-Coyoyte/1.1 Transfer Encoding:chunked Date:Fri,04 Nov 2011 Connection:close How can I achieve my task?? | |
Hi guys, I'm taking a Networking & Internet Systems module... have little experience working with java and am trying to work through an assignment... hopefully you can help! The task is to implement a basic UDP chat system. Create a simple chat system which uses the network (at least locally) … | |
SO ive searched the web for a tutorial on a simple ftp server and client made in Java and have only been able to find ones that show you how to make a ftp client for apache , however i want to make a ftp server in Java as well … | |
Im having trouble connecting my sockets. On one computer I have a java server socket running and on the other computer i have a c socket client trying to get the message from the other computers server. But I cant get them to connect. Do you see an error with … | |
Hi all, I wrote a .hta script (with vbscript - no jscript, in it) and put it on a fileserver. The people who use this script, start the script by clicking on a shortcut on their Desktop that leads to the .hta script on the fileserver. The .hta script reads … | |
Hello everyone, I've made a client web project, which is working using Tomcat server that, in turn, connects to a server that wait socket connections in a port. If I start eclipse and tomcat and run the server side, I can access the application using any browser by internet. I've … | |
OK. My 'logincontainer is hard coded HTML in the index.html page and is shown when a 'placeorder' button is clicked. The client enters their e-mail address in the only input visible and javascript addevent onchange checks to see if it is a valid e-mail or not. Above the input id … |
The End.