I had to tweak it a little to let it compile under mingw, but yes, it does return success when CCL does not.<br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 12:49 AM, Roman Marynchak <span dir="ltr"><<a href="mailto:roman.marynchak@gmail.com">roman.marynchak@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Elliott,<br><br>I have tried the same under Win7 x64, but in C. It works fine. You may use this simple code to figure out the level where the problem is (CL or OS):<br>
<br>#include "stdafx.h"<br>#include <Winsock2.h><br>
<br>char data[4096];<br><br>int _tmain(int argc, _TCHAR* argv[])<br>{<br> WSADATA wsd;<br><br> if (0 == WSAStartup(0x0202, &wsd)) {<br> SOCKET s = socket(AF_INET,SOCK_DGRAM, IPPROTO_UDP);<br> if (INVALID_SOCKET != s) {<br>
DWORD retb;<br> if(0 == WSAIoctl(s, 0x4004747f, NULL, 0, &data, 4096, &retb, NULL, NULL)) {<br> printf("Success\n");<br> getchar();<br> }<br> }<br> }<br> return 0;<br>}<br><br><br>Regards,<br>
Roman<br><br><div class="gmail_quote">2010/7/19 Elliott Slaughter <span dir="ltr"><<a href="mailto:elliottslaughter@gmail.com" target="_blank">elliottslaughter@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<div><div></div><div class="h5">
<div>Hi,</div><div><br>I have kind of a bizarre problem. I noticed recently that ccl::%get-ip-interfaces returns nil for me, but just 3 or 4 months ago I used to get a list of my network connections. I am running Windows 7 Pro 64-bit, and have not upgraded or changed my CCL installation in any way during that time frame. My CCL version is 1.4-r13122. The only thing I can think of that might changed on my system are security updates from Microsoft. I have tried changing network settings, and disabling the firewall, and nothing seems to help.</div>
<div><br>The reason I ask is because several months ago I ported ccl::%get-ip-interfaces to CFFI. At the time, that implementation worked perfectly on 5 different CL implementations. Now it returns nil in all of them in Windows. I have not made any changes to the ip-interfaces code during that time. Everything still works fine on other operating systems.</div>
<div><br>Any ideas would be appreciated. Thanks.<br><br>-- <br>Elliott Slaughter<br><br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>
</div>
<br></div></div>_______________________________________________<br>
Openmcl-devel mailing list<br>
<a href="mailto:Openmcl-devel@clozure.com" target="_blank">Openmcl-devel@clozure.com</a><br>
<a href="http://clozure.com/mailman/listinfo/openmcl-devel" target="_blank">http://clozure.com/mailman/listinfo/openmcl-devel</a><br>
<br></blockquote></div><br>
</blockquote></div><br><br clear="all"><br>-- <br>Elliott Slaughter<br><br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>