| Line 1: |
Line 1: |
| − | Libsoccr is the library that does [[TCP connection]] checkpoint and restore. Currently it resides in criu source code (<code>soccr</code> subdirectory) and consists of an API header and a static library. Available since [[Download/criu/2.10|Waxwing release]]. | + | Libsoccr is a library that does [[TCP connection]] checkpoint and restore. |
| | + | |
| | + | Libsoccr resides in criu source code (<code>soccr</code> subdirectory) and consists of an API header and a static library. |
| | + | |
| | + | Libsoccr is available since CRIU {{criu|2.10}} release. |
| | | | |
| | == Overview == | | == Overview == |
| Line 90: |
Line 94: |
| | [[Category: Sockets]] | | [[Category: Sockets]] |
| | == Example == | | == Example == |
| − | <tt> <pre> | + | |
| | + | <source lang="c"> |
| | /* Dump a tcp socket */ | | /* Dump a tcp socket */ |
| | | | |
| Line 135: |
Line 140: |
| | libsoccr_resume(so_rst); | | libsoccr_resume(so_rst); |
| | libsoccr_resume(so); | | libsoccr_resume(so); |
| − | </pre> | + | </source> |
| − | </tt>
| |