Software :: Satellite Sharing Client - Receiving Stream Of Codes

Apr 30, 2010

I need to ask about some method let me to subscribe to some one who make satellite sharing by some file and cable attached to the Receiver to let you receive the stream of codes that he send

View 3 Replies


ADVERTISEMENT

Programming :: Detect A Closed Tcp Client Connection When Client Is Only Receiving Data ?

Mar 9, 2011

I am writing a TCP server in C, and the server listens to incoming client connections and accepts them. It then creates a thread to handle the client. The clients are expected to only receive data from my server and not send any data. So if I use a select() call with a recv(), I believe that the recv() will just block forever since there will not be any data coming from the client. If I use a non-blocking recv(), then this will just return a 0 which tells me nothing because the client is not expected to send any data. I am not sure if I have misunderstood some socket concepts, but I need a solution to detect when the client has disconnected so that I can close the socket and stop sending data to the client. As I understand it, simple ACKs etc are not captured by the recv(), and only data sent by the client will cause recv() to return a non-zero value, so I am not sure how to know when the client has disconnected.

View 7 Replies View Related

Ubuntu Networking :: Can Client PC Sharing Key With Access Files / If Not File Sharing?

Jul 7, 2011

Im using WPA with a TKIP pre-shared key...Can a client pc im sharing my key with access my files if im not file sharing? Router config?

View 2 Replies View Related

Networking :: Client Receiving UDP From Multiple Sources ?

May 14, 2009

I have to implement a client/server solution that pretty much does this:

1) Client broadcasts UDP packet;
2) client receives answer packet from multiple servers - it includes the TCP port to use next and a list of files;
3) user picks file from list;
4) client downloads from server via TCP.

I got the client to broadcast and the servers reply. However, i'm not yet getting the client to be able to receive multiple packets.

I'm very inclined and have tried to implement select, but most examples i find are for stream sockets. Once the fsSet shows a read event would i create a new socket or just use the main socket for recvfrom()ing? I assume i need at least two sockets. However i'm not sure if this will allow the client to actually receive simultaneously... so i'm kinda not wanting to guess that this implies fork and threads... Also, i assume the socket must be nonblocking (done), although i've read somewhere select would take care of this?

View 3 Replies View Related

Networking :: Segmentation Fault In Receiving Http Request From Client Code?

Feb 17, 2011

There is a segmentation fault error while receiving http request side program. Following is the code:

Code:
#include<iostream>
#include <sys/types.h>

[code]...

View 1 Replies View Related

Software :: Compile .jar Java Byte-codes Into Native Machine Codes?

Aug 28, 2010

I think I put this in the wrong place

View 1 Replies View Related

Software :: Create Server Program That Will Stream Contents Of File To Any Client

Apr 26, 2011

I need help to do a program that emulates the following shell command line:"sort </etc/passwd | less".Using a socket in a connection-oriented setup.First the contents of the file /etc/password are being fed into the sort program. The sort program is then sorting the contents of the file and sending it to another programm called less. Less is paging the results so that you can see one page of the results at a time.I know that i can solve the problem this way:

1. Create a server program that will stream the contents of a file to any client that connects to it
2. Create a client application that will connect to the server and download the contents of the file. The program should then sort the file. After sorting the file the client should connect to the "less" program and send the sorted results
3. Create a server program that will listen for connections and download whatever is sent to it. It will then display that data one page at a time.

View 1 Replies View Related

Networking :: Sharing Internet Connection With More Than One Client

Jan 30, 2009

I have an ubuntu 7.10 ICS server that works fine and I have routed my traffic using firestarter to my windows PC. my server's IP is 192.168.0.1 and my windows client is 192.168.0.2. now, I have bought another PC and I want to assign 192.168.0.3 to it and connect it to ubuntu server. in windows, all I needed to do was to connect the first client to first network card, second one to second network card, bridge two connections in my server, assign 192.168.0.1 to the network bridge in my server and 192.168.0.2 and 192.168.0.3 to my clients, then share my internet connection. I also could access shared files in any computer from all of them. can I have the same functionality with a linux server?

I'll make a list to make it easy if you don't wanna read the whole post:

things I want:

1. assign one ip address to multiple interfaces in linux, making them bonded.

2. sharing the internet connection with both clients.

3. ability to use all shared files over a network.

View 4 Replies View Related

Debian :: File Sharing On Windows Client Using Samba

Oct 1, 2010

I am new to debian. How to configure debian 5 on file sharing on windows client.

View 10 Replies View Related

Ubuntu Networking :: Internet-sharing To Thin Client From Server 10.04?

Sep 20, 2010

i want to share the Internet connection to thin client from my Ubuntu server,Internet is accessible to my Ubuntu server but i am unable to boot from thin client to server,i configured DHCP but of no use.can any plz send me the detailed steps to configure thin clients in my network

View 1 Replies View Related

Networking :: Internet Connecion Sharing Between Windows Host And Client?

Apr 16, 2009

I have a laptop on which i connect to internet using dialup modem.my laptop is also connected to a linux box via lan.now i want to connect to internet from the linux box, using internet connnection sharing from widows xp installed on laptop

View 8 Replies View Related

Networking :: Sharing Internet Connection To Thin Client From RHEL Server 5

Sep 22, 2010

plz can any one help me in configuring linux server 5.0 to share the internet connection to thinclient and the steps reqiure at client side and server

View 2 Replies View Related

Software :: 10.04 - Couldn't Open Localsound Device Error 2 Client Side Error: Could Not Set Up A Stream

Jul 18, 2010

I just installed say with

Code:
sudo apt-get install epos
and everything went fine, until I tried to use it.
When i do
Code:
say hello
it gives me
Quote:
he~lo######~T

Could not open localsound device, error 2 Client side error: Could not set up a stream

View 6 Replies View Related

Server :: CentOS /Samba Server- XP Windows Client File Sharing?

Nov 3, 2009

I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.users and passwords ( same as on the server ) are entered in the XP client machine.When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and none of the already entered seem to work. I cannot access the server file (prompted again and again to enter user name and password). What did i miss

View 7 Replies View Related

Software :: Not Able To Stream / Connect To Stream Using Vlc

Dec 26, 2010

It seems I might be having an issue that's a non-issue. I am not able to stream/ connect to a stream using vlc.I've looked at a few walk-throughs; I follow the steps and as often as not I get no error messages but cannot connect to a stream.

View 1 Replies View Related

Red Hat :: SSH Banner Escape Codes?

Sep 22, 2010

I have modified /etc/issue with the following:

Code:
Today is d @
So when logging in locally you get todays date and time. I want this for SSH users as well

[code]....

View 1 Replies View Related

Fedora :: Install Media Codes Under 11?

Aug 15, 2009

how to install media codes at the fedora 11?

View 2 Replies View Related

Ubuntu :: What Are The Different Codes For Process States In Ps

Feb 16, 2010

I know there are different process states in Unix such as Running, Sleeping and Zombie.When I run "ps -C firefox -o stat=" I get the output "s" which means sleeping.But there are also others like s+What are the different codes for process states in ps, and what do they mean

View 1 Replies View Related

Ubuntu :: Edit Or Add Codes To ~/.bashrc?

Jul 28, 2010

how to edit or add codes to ~/.bashrc?? and also what is this bashrc if anyone could explain... i have tried editing this bashrc without success... how to save the changes in bashrc...

View 5 Replies View Related

Ubuntu :: Use Multiple Region Codes At Once?

Apr 2, 2011

I realized I can watch DVDs on my laptop. I tried the first DVD that I had tried it on, and it didn't work. I am thinking this may be something to do with region codes. First of all, how do I see which region code I am currently on? Secondly, how do I reset the region code? Is there any way to use multiple region codes at once?

View 9 Replies View Related

Ubuntu :: Need Codes To Reconfigure Graphics?

Apr 18, 2011

I need to know the codes to reconfigure my graphics. While updating from v9.10, the graphics got misconfigured somehow.

View 1 Replies View Related

Ubuntu :: How To Add Cheat Codes To Mupen64Plus

May 27, 2011

I have no idea how to do this. There isn't an option in the GUI (though I believe there should be one) and Google hasn't told me anything.

View 9 Replies View Related

Ubuntu :: Can't Get Java To Install / Codes To Do That?

Jun 14, 2011

I have installed minecraft on Natty. I just wiped and reinstalled to Maverik and now i cannot get Java to install, which i have to have to play minecraft. Are there other programs or codes to install Java?

View 7 Replies View Related

General :: Codes For Leach Protocol In Ns2?

Feb 23, 2011

i needed to implement leach protocol in ns2using linux redhat but i need the codes for leach protocol

View 2 Replies View Related

Programming :: Error Codes In A For Loop

Nov 3, 2010

I've got a 'nested' for loop which has a grep in it, if the grep fails there's no output - however the error code is still $0 and the second for loop is still entered, there's also a grep in the second for loop.I guess ultimately what i need to know is whether there's a way of making grep generate an error code. when no results are found?

View 14 Replies View Related

Ubuntu :: Username And Password For Entering Codes?

Mar 20, 2010

I would like to be able to enter codes. I have pressed ctrl alt f5, 6 etc and get to the black screen which asks for username and password. I enter the username and password that I use to log in, but I keep getting the message telling me that they are not correct.

View 8 Replies View Related

Ubuntu :: Getting The Terminal Codes For The Compiz Apps?

Dec 13, 2010

i need the terminal codes for the compiz apps, such as for the cube deformation .I'm using build 10.04,

View 1 Replies View Related

Ubuntu Security :: Testing Shell Codes In 10.10

Feb 9, 2011

I am learning exploit development and learning some stuff about shellcodes now! The shellcode is absolutely right and have tested it. I am using the following code...(created by me) to run my shellcode..

Code:
// #include<stdio.h> we will not be needing this as we are not using any functions from the C library...Just basic logic of Pointers..
char shellcode[] = "x31xc0xb0x01x31xdbxb3x07xcdx80"; // basic exit shellcode
int main()
{ int *ret; // a simple integer pointer pointing a address
ret = (int *)&ret + 2; // change the address pointed by
(*ret) = (int)shellcode; }

Compiling :-
Code:
aneesh@aneesh-laptop:~/articles/C$ gcc test.c -o test -fno-stack-protector
Compiling gives no errors as expected..

Now the problem I am facing is that As I run the program :-
Code:
aneesh@aneesh-laptop:~/articles/C$ ./test
Segmentation fault

Strace output :-
Code:
aneesh@aneesh-laptop:~/articles/C$ strace ./test
execve("./test", ["./test"], [/* 37 vars */]) = 0 .....
set_thread_area({entry_number:-1 -> 6, base_addr:0xb78016c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xf5e000, 8192, PROT_READ) = 0
mprotect(0x8049000, 4096, PROT_READ) = 0
mprotect(0x15c000, 4096, PROT_READ) = 0
munmap(0xb7802000, 81274) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

I have some feeling that its because the program has no access to the memory containing the shellcode (May be???)..

View 2 Replies View Related

Ubuntu :: Can't Locate Codes For Operating System

Mar 16, 2011

i have two doubts

1) i downloaded the latest linux kernel in hope that i will find the codes for the operating system the os but i cant locate any.so can any0ne tell me from where can i find what i am looking for?

2) c language used in the package i downloaded is though very close to the c i studied but there are places where it becomes tough for to comprehend the real significance of the lines. eg i never knew rhere is Display() a pre-defined function but i saw it somewhere as predefined.

View 9 Replies View Related

Ubuntu :: Compile Parallel C Program With MPI Codes?

Jun 20, 2011

I have a simple testing program like this:

/*The Parallel Hello World Program*/
#include <stdio.h>
#include <mpi.h>

[code]...

My program is, I can't compile this program using gcc, and I can't find something like pgcc in ubuntu. How should I compile this program? After compiling, what should I do to run this program? Can I use something like mpirun to run it? I want to try to use both cores of my computer to run it and make it shows Node 1 also besides Node0.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved