OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] cryo: test program for udp sockets
Re: [PATCH] cryo: test program for udp sockets [message #31161 is a reply to message #31153] Thu, 19 June 2008 22:19 Go to previous message
serue is currently offline  serue
Messages: 750
Registered: February 2006
Senior Member
Quoting Benjamin Thery (benjamin.thery@bull.net):
> Here is the small test program I use to test checkpoint/restart of UDP
> sockets with cryo. 
> This program can be called either as a server listening on a given port 
> on a given adresse, or a client sending message to a given address on a
> given port. The client sends integer and the server sums them.
> 
> Run two instances of sockudp, one server and one client. 
> Checkpoint the server.
> Stop both instances.
> Restart server. He will wait for more messages.
> Run a new client. The server will continue to sum the data it receives!
> 
> Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>

Hey that works beautifully.  Checkpointed both the client and server
played with killing and restarting them both.

Applied to git tree.

thanks,
-serge
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: Re: [RFC][v2][patch 0/12][CFQ-cgroup]Yet another I/O bandwidth controlling subsystem for CGroups bas
Next Topic: [RFC PATCH 0/4] IPC/sem - allow saving/restoring a process semundo_list
Goto Forum:
  


Current Time: Fri Sep 05 05:01:53 GMT 2025

Total time taken to generate the page: 0.17622 seconds