summaryrefslogtreecommitdiffstats
path: root/server/tests/test_just_sockets_no_ssl.c
blob: afa3558be24a9291e8d4799479c81e5305dd00a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <strings.h>
#include <sys/select.h>
#include <spice.h>
#include "basic_event_loop.h"

int main(void)
{
    SpiceServer *server = spice_server_new();
    SpiceCoreInterface *core = basic_event_loop_init();

    spice_server_set_port(server, 5912);
    spice_server_set_noauth(server);
    spice_server_init(server, core);

    basic_event_loop_mainloop();

    return 0;
}