Search Result

Collapse
9 results in 0.0014 seconds.
Keywords
Members
Tags
tcp
  •  

  • Sending and Receiving a struct over TCP Socket in Linux

    hi Mates,

    First of all thanks for this wonderful Programmers Community.

    Recently i started to learn Socket Programming. i have some doubts, hope u ppl will clarif them.

    i am trying to code a C program for sending a struct over TCP Socket in Linux!
    The code is as follows:
    Code:
    /*
    ** sravan_server.c - a stream socket (TCP) server Program 
    */
    #include <stdio.h>
    ...
    See more | Go to post

  • Dusted
    started a topic Multithreaded TCP Socket server.

    Multithreaded TCP Socket server.

    I'm working on a server program that will allow multiple clients to connect then send and receive the catch is that i don't want all the date from 1 client sent to every other client. I only want Client 1 to receive data from Client 2 or Client 3 if they send numbers that are in a certain range. my main problem right now is getting the server to accept multiple clients and send them any data back at all. i don't know if it's important but the clients...
    See more | Go to post

  • byteit101
    started a topic python tcp stack

    python tcp stack

    I've been searching around and have had little luck. I'm looking for a python custom TCP stack implementation that I can modify to add predictable SYN & ACK sequence numbers while keeping all the other goodness of TCP the same (out of order packets, missing, duplicates, etc.. fixed).
    Any ideas?

    PS. this only needs Linux support, Mac and win support is optional
    See more | Go to post

  • Which is better SMS,TCP,UDP for communication purposes on mobile phones ?

    I am developing an client server application on mobile phone and I would really appreciate to get some comparisons between each of them ..
    See more | Go to post

  • phpuser123
    started a topic Why I am receiving null in my output?
    in Java

    Why I am receiving null in my output?

    I want to send a message to my computer from my phone using TCP..My computer is the server and my phone is the client. I am able to send a message from my phone to my computer but in the output, I get null characters ..

    I paste my codes below;;

    Client ::

    Code:
    public void startApp() { try { // establish a socket connection with remote server streamConnection = (StreamConnection) Connector.open(connectString);
    ...
    See more | Go to post
    Last edited by Niheel; Dec 3 '10, 03:02 PM.

  • Why the server got so many connection requests from an invalid socket?

    Hi,


    I am having a big issue when I develop my server. Basically, server is listening on a fixed port from clients. I did some checking to discard those are not from my client. However, I got so many weird connection requests from an invalid socket. This will make our server couldn't do anything useful after running a while! All coming from one IP and they constantly requests to our server... this is for sure not sort of DoS...
    See more | Go to post

  • aatif
    started a topic data sent on TcpClient.Connect

    data sent on TcpClient.Connect

    I am using a TcpClient to communicate with a remote system.

    I need to ask is there any data or 'conenction string' that is implicitly sent on TcpClient.Conne ct function?

    Because when I connect, the remote system admin sees some incoming data from my app.

    Secondly, is there any alternate to send/receive ASCII data instead of TcpClient?

    Thanks
    See more | Go to post

  • Bapes
    started a topic [C#] .mp3 File Transfer Help

    [C#] .mp3 File Transfer Help

    Hello, I am currently trying to create a server/client file transfer system in which the server sends the client .mp3 files. The file transfers fine but when I go to play the file, it is all scratchy and skips and I think it has something to do with the bytes that I am sending.

    Here is the server code:

    Code:
    byte[] fileData = File.ReadAllBytes(sData);
                           byte[] clientData = new byte[4 + fileData.Length];
    ...
    See more | Go to post

  • buba
    started a topic Can I push on TCP stream socket?
    in C

    Can I push on TCP stream socket?

    It's my first post on the group, I'm not c++ programmer. For last 10 years I did everything except c/c++ (or very little). I find it really difficult, more difficult than I expected. Worst of all I know it really makes sense... But, the question:

    We have two sockets. Server calls socket(), listen(), accept(), client calls socket(), connect(), than send(), server calls recv(), than send(), client... and so on...

    In all...
    See more | Go to post
Working...