947 Topics

Member Avatar for
Member Avatar for efronefron

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(); …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for ricedragon

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 …

0
78
Member Avatar for vistriv5

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 …

Member Avatar for sufyan2011
0
121
Member Avatar for aaloo

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 ?

Member Avatar for aaloo
-1
131
Member Avatar for Staric

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 …

0
176
Member Avatar for babymel2010

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

Member Avatar for thines01
0
92
Member Avatar for SpyrosMet

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 …

Member Avatar for SpyrosMet
0
372
Member Avatar for fmatin

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 …

0
127
Member Avatar for mbirum

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 …

Member Avatar for mbirum
0
207
Member Avatar for Mocabilly

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 …

0
159
Member Avatar for asmsycool

Hi, i've a problem with my codes, when ever i run it, i got an error from the checking i implemented. Can some pls explain why does the error keep coming. [CODE]import java.net.*; import java.io.*; public class EchoClient{ static final int serverPort = 1026; static final int packetSize = 1024; …

Member Avatar for JamesCherrill
0
442
Member Avatar for AndyPants

hello, im working on a file transfer program but a cant figure out how to make the main function work, i have spent hours on Google trying to find a solution... but i cant. Now, as you probably have guessed: the main function is to transfer files over the internet, …

Member Avatar for GeekByChoiCe
0
2K
Member Avatar for eltonpiko

Hi i had a several reseller account in the past and all one the time one of the go hacked and completely mess up my stuff an put stupid pictures instead of my site. I tried everything from changing user name and pass putting something longer but dont know how …

Member Avatar for joehms22
0
183
Member Avatar for ShaggyDogg

Does anyone suggest a way of getting a HP Proliant ML110 first generation server to recognise 2TB SATA hard drives? The spec sheets read it only supports storage up to around 320GB, but would ideally like to get it running without any other expense. The machine is a standard build …

Member Avatar for ShaggyDogg
0
195
Member Avatar for bowmaster

I have a project made with jsp on a apache tomcat server. I also have intalled wamp server package for the purpose of using a data base made with phpmyadmin. I was wondering if i could also use php pages im my project. I learned that a posible way would …

Member Avatar for bowmaster
0
247
Member Avatar for matrixx1

Problem: Server 2000 DC hard drive failed. Purchased new drive, installed server 2000 and restored everything from a backup. Everything is back up, however none of the client machines can connect to the server and view "my documents". Initially we had 3 DC, however we are down to 1 because …

Member Avatar for lolafuertes
0
196
Member Avatar for mah300274

I need to know what the specs would be for a server for a website of some auction type thing. Possibly something like beezid.com; it is not exact, but close to everything is the same principle. Then who should I go through to design this; I found some designers like …

Member Avatar for mah300274
0
180
Member Avatar for Baradaran

Hi, I have obtained a Windows Server 2008 R2 (Virtual Server) which does not support Active Directory. I have set up RAS and NPS, however, I am currently authenticating the users using the Windows User Console. I have more than 200 users. I intend to set a certain duration for …

Member Avatar for Mve83
0
152
Member Avatar for mah300274

I bought a little over 20 d51s's and I am trying to get the most money out of them, but am not sure where the current market is for these kinds of computers. Background: They all are P4 2.4GHz,1 CD-ROM,1 Floppy drives, most do not have ram, none of them …

Member Avatar for caperjack
0
350
Member Avatar for johnscanlon

Hi, trying to make a chat system with multiple servers. Server needs to send message from a client to all the other clients. But need to save the client ports that are connected to the server in order to do this. Not really getting anywhere with this, i'll post ode …

Member Avatar for johnscanlon
0
2K
Member Avatar for sammeras

Hello, I had 4 dedicated server, and i wanna ask some question for the experts here. I have dating website, and i have a lot of activities, this activities send mails to the members: - A send to B messages, B get message to his mail. - A like B, …

Member Avatar for sammeras
0
310
Member Avatar for Jimbest

Hi, I'm struggling to understand how to write script for Zeus web servers. I need to leverage browser cache images to get my Google page speed up. i know this is the code for .htaccess but Zeus is different: <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access plus 2 days" ExpiresByType …

0
162
Member Avatar for adn295

I have gone through the basic techniques to implement comet server like streamhub,Maven/Jetty etc. I have following questions for that : After that I found the issues like in case of Maven/Jetty internet connection is required for downloading certain files from net.So it it possible to implement it if no …

Member Avatar for adn295
0
149
Member Avatar for nikki05

Hello, Could someone suggest me the ways to redirect a website from one server to another website in another server? I have one website "X" (IP based e.g [url]http://x.x.x.x/example.html[/url]) in one server using IIS and another website "Y" (domain based e.g. [url]www.abc.com[/url] ) on another server using Apache. I linked …

Member Avatar for suley04
0
539
Member Avatar for bostonselkirk

I'm trying to implement paginaton on the article archive but I can't seem to get [code]$_SERVER['PHP_SELF'][/code] to return the page that I need - I sort of know why but can't seem to solve the problem. The archive page is located at [url]http://localhost/cms/index.php?action=archive[/url] and so when I use PHP_SELF it …

Member Avatar for bostonselkirk
0
442
Member Avatar for darelet

Hi all, I need a setup involving a client or front-end program that sends some tasks to a back-end process for processing and collects results for output. I know this involves socket programming, but one issue here is that the front-end is a windows program and the back-end is a …

Member Avatar for darelet
0
197
Member Avatar for jendenisse12

Hey, last night, i used ad-hoc connection. It worked perfectly fine with my other laptop. But today, me and my sister used both laptop. We cant access some website. I tried what was posted here, the CMD. Still some website wont work. Its killing. Anyone help me. Please. Thanks

Member Avatar for jingda
0
160
Member Avatar for haanjae

hi all, i have the server code and client code, but it cannot communicating with each other. i try to run it in 2 pc but happen error. i do not know what is the problem, please help me. server code: [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; …

Member Avatar for Mitja Bonca
0
2K
Member Avatar for MoZo1

This prints NULL: [CODE=Java]String sss = System.getSecurityManager() == null ? "NULL" : System.getSecurityManager().getClass().getName(); System.out.println(sss);[/CODE] And this throws exception: [CODE]ServerSocket serversocket = new ServerSocket(80);[/CODE] This one: [CODE]Exception in thread "main" java.lang.Error: java.net.BindException: Permission denied at httpserver.HTTPServer.main(HTTPServer.java:68) Caused by: java.net.BindException: Permission denied at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at …

Member Avatar for MoZo1
0
423
Member Avatar for emorjon2

Hi all :) I got some serius problem that I've tried to solve in almost two days. I've try to send a request to a URL from a android app, [URL="http://web.hjalmar.nu/~morgan/webpage/test.php"]http://web.hjalmar.nu/~morgan/webpage/test.php[/URL]. the problem is, that it isn't working. ANDROID-file [CODE]package morgan.request.test; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import …

Member Avatar for emorjon2
0
265

The End.