/* Copyright (c) 2001-2009 by SoftIntegration, Inc. All Rights Reserved */
#include <winsock.h>

int WSACancelBlockingCall() {
    void *fptr;
    int retval;

    fptr = dlsym(_ChSysSocket_handle, "WSACancelBlockingCall_chdl");
    if(fptr == NULL)  {
        printf("Error: %s(): dlsym(): %s\n", __func__, dlerror());
        return SOCKET_ERROR;
    }
    dlrunfun(fptr, &retval, WSACancelBlockingCall); 
    return retval;
}
