04-22-2008
regarding UDP SERVER
hi thanks for advice
but we don't have that much time to study the book and understand the subject thats why i asked to u to send the code for client also for the deadline is 24 th of this month
please send me the code if u have
and y r u using this short syn_ack = 0x11; variable while sending to the client ,
for udp concurrency one should bind an ephemeral port and re-negotiate with the client for communication on the new port->address. One should also find the interface
that the original packet arrived on and only bind this address
here should we bind in the client also or simple client can manage connection to this server code pleaswe clarify with this
10 More Discussions You Might Find Interesting
1. IP Networking
Just like concurrent tcp server, anyone know how to design the concurrent udp server with the thread? it's best to give some basic examples,thanks (0 Replies)
Discussion started by: Frank2004
0 Replies
2. Programming
Hello,
I would like to ask you for a help. I need to program in C print server which is based on connectionless protocol UDP. The problem is that I am not experienced in programming network applications, I can help myself with some other answered questions on this forum about network apps in C,... (1 Reply)
Discussion started by: samciz
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
My network dep. telles me that they have opened the FW but my application still can not get through to other server. If it was TCP I could simply test it myself with "telnet", but how can I check it when the connection is UDP?
Tnx (1 Reply)
Discussion started by: mehrdad68
1 Replies
4. UNIX for Dummies Questions & Answers
So I am attempting to implement a UDP server on an older Solaris 9 box; the server will be handling packets at a rate of about 12/sec and will be constructing acknowledgment messages on the fly.
I've found snippets of sample code here and there on the net... should I be writing this from scratch... (1 Reply)
Discussion started by: allbread
1 Replies
5. Programming
I made a program and now I need to make it concurrent.
Can someone pls help me do this ?
The code is this:
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <errno.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>... (4 Replies)
Discussion started by: Johnny22
4 Replies
6. Programming
I try to initial a UDP client from threading, but it doesn't work? why?
These codes from the textbook
#define ECHOMAX 255 /* Longest string to echo */
#define TIMEOUT_SECS 2 /* Seconds between retransmits */
#define MAXTRIES 5 /* Tries before giving up */... (3 Replies)
Discussion started by: sehang
3 Replies
7. IP Networking
Hifriends
I have a doubt .
how to create a multi-chat server using UDP which can run on MAC systems..
Thank u in advance (3 Replies)
Discussion started by: babbu25
3 Replies
8. UNIX for Advanced & Expert Users
hi all my problem is i have programmed a server to accept multiple clients through concurrent server approach
https://lh3.googleusercontent.com/-hg-TSMdDj1k/UG5R7iICXaI/AAAAAAAAC5M/23_NnU5kH94/s800/concserver.png
but when i try to execute the binding and connection accept works fine but the... (1 Reply)
Discussion started by: shyam.sunder91
1 Replies
9. Programming
Hello,
I have a question: I want to create a n client to one server connection. This is the client-server algorithm.
Enybody help to make the changes? (0 Replies)
Discussion started by: MaHmur
0 Replies
10. AIX
Hi,
What are the differences between concurrent and enhanced concurrent VGs.?
Any advantages of enhanced concurrent VG over normal concurrent vg
Regards,
Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies
LEARN ABOUT DEBIAN
mosh-server
MOSH(1) General Commands Manual MOSH(1)
NAME
mosh-server - server-side helper for mosh
SYNOPSIS
mosh-server new [-s] [-v] [-i IP] [-p port] [-c colors] [-- command...]
DESCRIPTION
mosh-server is a helper program for the mosh(1) remote terminal application.
mosh-server binds to a high UDP port and chooses an encryption key to protect the session. It prints both on standard output, detaches from
the terminal, and waits for the mosh-client to establish a connection. It will exit if no client has contacted it within 60 seconds.
By default, mosh-server binds to a port between 60000 and 61000 and executes the user's login shell.
On platforms with utempter, mosh-server maintains an entry in the utmp(5) file to indicate its process ID, whether the session is con-
nected, and the client's current IP address.
mosh-server exits when the client terminates the connection.
OPTIONS
The argument "new" must be first on the command line to use command-line options.
-s bind to the local interface used for an incoming SSH connection, given in the SSH_CONNECTION environment variable (for multihomed
hosts)
-v Print some debugging information even after detaching.
-i IP IP address of the local interface to bind (for multihomed hosts)
-p PORT
UDP port number to bind
-c COLORS
Number of colors to advertise to applications through TERM (e.g. 8, 256)
-l NAME=VALUE
Locale-related environment variable to try as part of a fallback environment, if the startup environment does not specify a charac-
ter set of UTF-8.
EXAMPLE
$ mosh-server
MOSH CONNECT 60001 UAkFedSsVJs2LfMeKyQB5g
mosh-server (mosh 1.1)
[...] (copyright notice omitted)
[mosh-server detached, pid = 20443]
SEE ALSO
mosh(1), mosh-client(1).
Project home page: http://mosh.mit.edu
AUTHOR
mosh was written by Keith Winstein <mosh-devel@mit.edu>.
BUGS
Please report bugs to mosh-devel@mit.edu. Users may also subscribe to the mosh-users@mit.edu mailing list, at
http://mailman.mit.edu/mailman/listinfo/mosh-users
February 2012 MOSH(1)