Sponsored Content
Top Forums Shell Programming and Scripting sending http url through http socket programming.. Post 302480856 by scharles on Thursday 16th of December 2010 04:00:22 AM
Old 12-16-2010
Dear sen,

the code seems to be correct, not exactly. server properties check with your server admin . there is a chance to block connections and port. i belived the issue with server properties. and check with the network provider also. before run the program make sure your all connections has been established from end to end.

sug: Kindly try with some simple coding format before proceeding larger application design.

Regards
Scharles
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Coomand to download from HTTP(URL)

Hi, What is the UNIX command to download a file or data from HTTP location. CURL(Linux) did not work. Thank You (4 Replies)
Discussion started by: skm123
4 Replies

2. Programming

HTTP Keep-Alive socket problem

Hello everyone, I am a newbie in UNIX/Linux socket programming. This is a class project that I had trouble with. ================================================== I was trying to make “Keep-Alive” HTTP connections to the server in a tiny web crawler project. Here is the problem: when I tried... (0 Replies)
Discussion started by: imdupeng
0 Replies

3. Programming

unable to get end of file while reading HTTP data from socket

I am trying to read HTTP data from a socket. However, for the final set of data being read using read(), read blocks and the control doesnt come back for further processing. I tried using select, but it didn't work... Any help would be greatly acknowledged.:) (2 Replies)
Discussion started by: Harish.joshi
2 Replies

4. Programming

C - HTTP Socket Programming

Hello everybody, I learning socket programming in C and was wondering if anybody here could help me out. I have two .c programs namely server.c and client.c ....... The client sends a message and the server in turn returns the value. Basically I want to send in a request to a webserver... (24 Replies)
Discussion started by: kev_1234
24 Replies

5. Shell Programming and Scripting

stripping http and https from a url using sed

I have to write a sed script which removes http and https from a URL. So if a URL is https://www.example.com or Example Web Page, script should return me Example Web Page i tried echo $url | sed 's|^http://||g'. It doesn't work. Please help (4 Replies)
Discussion started by: vickylife
4 Replies

6. Programming

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies

7. Web Development

HTTP Headers Reference: HTTP Status-Codes

Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers 10 Status Code Definitions Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies

8. Shell Programming and Scripting

HTTP::DAV module errors - can't access URL

Hello, I am attempting to use the HTTP/DAV module in perl, and I have a script that transfers files to a website. However, I get the following error message: "Couldn't open https://www.thisismyurl.com/DAV: The URL "https://www.thisismyurl.com/DAV" is not DAV enabled or not accessible." ... (0 Replies)
Discussion started by: Scatterbrain26
0 Replies

9. Shell Programming and Scripting

awk script to find time difference between HTTP PUT and HTTP DELETE requests in access.log

Hi, I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log. Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
burgerspace-server(6)													     burgerspace-server(6)

NAME
burgerspace-server - UDP server for the networked version of BurgerSpace SYNOPSIS
burgerspace-server DESCRIPTION
burgerspace-server is a server that accepts connections from BurgerSpace clients to allow two players to compete with each other. One player controls the chef and the other controls the egg. Other clients can connect as spectators. burgerspace-server should be started in a terminal. To terminate it, give the Ctrl-C sequence or use the kill(1) command with the server's process ID as the argument. The connections use the UDP protocol. The --port option can be used to specify a non-default listening port (see below). After the server has started, the user who wants to control the chef must start the client with this command: burgerspace --server=the.server.hostname.com --chef Use the appropriate hostname or IP address as the argument for --server. The user who wants to control the egg must give the --enemy option instead of --chef. The --port option can be added to the burgerspace command-line to specify the server port, if the server was started with a non-default UDP listening port. OPTIONS
--help display a help page and exit --version display version information and exit --initial-level=N start game at level N. Default is 1. N must be at least 1. --port=PORT UDP port number on which the server must listen for incoming clients. The default is 49152. LICENSE
This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. AUTHORS
Pierre Sarrazin (code) Luce St-Amand (most images) FILES
This program uses the flatzebra library, by the same author. This library is itself based on the SDL graphics library (see http://www.lib- sdl.org). See the BurgerSpace Home Page: http://sarrazip.com/dev/burgerspace.html BUGS
Performance has not been tested thoroughly. Users who want to play the stable stand-alone game should use version 1.8.3. SEE ALSO
burgerspace(6) May 16th, 2010 burgerspace-server(6)
All times are GMT -4. The time now is 07:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy