summaryrefslogtreecommitdiffstats
path: root/server/tests/test_just_sockets_no_ssl.c
blob: ac5403b1123ff263012a42de0dbd9735465b359d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <config.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;
}