I don't want Unix sockets, how do I use normal Win32 winsock?
The Cygwin FAQTo use the vanilla Win32 winsock, you just need to #define Win32_Winsock and #include "windows.h" at the top of your source file(s). You'll also want to add -lwsock32 to the compiler's command line so you link against libwsock32.a.
Related QuestionsCygwin FAQTo use the vanilla Win32 winsock, you just need to #define __USE_W32_WINSOCK and #include "windows.h" (or "winsock2.h" at the top of your source file(s). You may find it easier to add "-D__USE_W32_WINSOCK" to the CFLAGS settings in your makefile, if you are using one, as this will then apply to all your source files.Related Questions
Can I use Wine to port my Win32 sources to Unix?
Wine HQ - Wine FAQThat is the idea of Winelib. Right now you may still have some difficulties, but this is changing all the time. Read the Winelib User's Guide for info.
Related QuestionsWhat about AF_UNIX sockets?
MKS Toolkit, Développement UNIX et Windows - FAQsToolkit supplies a Winsock 2.0 service provider to implement the AF_UNIX address family. NuTCRACKER Platform applications should be able to make full use of the related API functions, including the use of sendmsg() and recvmsg() for passing file descriptors between applications. Native Win32 applications also can use AF_UNIX sockets, although they cannot use sendmsg() and recvmsg().
Related QuestionsHow do I write a sockets server in Perl for Win32?
perlwin32faq8 - General programmingThere's an example of a socket server, TCP-SERVER, in the eg directory of your perl directory. In general, information on socket programming for UNIX is applicable to Perl for Win32. See especially the perlipc page of the documentation. If you need to develop a server that can service multiple clients at once, take a look at the IO::Select module. This module allows you to write servers that can manage open connections from multiple clients.
Related QuestionsWhere can I find Win32 ports of UNIX tools?
perlwin32faq4 - Windows NT and Windows 95You might want to take a look at the help file for Windows NT and Windows 95 commands to see if there's a rough equivalent distributed with your Win32 platform. If not, try one of these URLs: GNU-Win32 - a Win32 port of many GNU tools, as well as a complete development environment. http://www.cygnus.com/misc/gnu-win32/ There are also several UNIX-like tools available in the Windows NT Resource Kit.
Related QuestionsHow can the Bodyblade work when you don't use it in the normal range or motion?
Frequently Asked Questions About BodybladeIf your question of range of motion relates to: How can I strengthen my muscles if I don't move through a full ROM as in traditional weight lifting? The answer is you do not need to move through a complete ROM to gain strength and endurance in the muscle. Look at non-traditional forms of strength training. Two men wrestling each other, trying to push the other to the ground. There is a tremendous amount of work being done by both.
Related QuestionsWhat if I want to use handles but I don't want to run a handle service myself?
HANDLE.NET FAQsYou might want to work with another organization already using the Handle System. For example, in the area of intellectual property, the Digital Object Identifer System (DOI) is a widely used implementation of the Handle System with tens of millions of Digital Object Identifiers (DOIs) assigned. The DOI system is made available by the International DOI Foundation (IDF), which offers policies and the added value of being a robust, established, and experienced organization.
Related QuestionsWhat if I don't want to use my credit card online?
Aussie Slippers Frequently Asked QuestionsNo problem. In addition to offering secure online payment, we can also take your payment by phone, fax or mail. See our Ordering and Sizing Information page for details.
Related QuestionsOkay, I still don't want to use TypeKey. What now?
Six Apart - TypeKey FAQTypeKey is an optional service and you, as a weblog owner, are not required to use it. If you are a commenter who does not wish to sign up for TypeKey, you also have that right as well. We've provided TypeKey as a free solution to solve the problems weblog owners and commenters have been expressing to us for quite some time. Ultimately, the decision to use TypeKey lies in the weblog owner’s hands.
Related QuestionsWhy don't my sockets close?
Programming UNIX Sockets in C - Frequently Asked Questions: ...When you issue the close() system call, you are closing your interface to the socket, not the socket itself. It is up to the kernel to close the socket. Sometimes, for really technical reasons, the socket is kept alive for a few minutes after you close it. It is normal, for example for the socket to go into a TIME_WAIT state, on the server side, for a few minutes. People have reported ranges from 20 seconds to 4 minutes to me. The official standard says that it should be 4 minutes.
Related QuestionsQ2) Should I use DirectPlay or WinSock?
Forum FAQ - GameDev.Net Discussion ForumsA2) As of Summer Update 2004, Microsoft has put DirectPlay into "sunset" mode, where they will not develop the API further. Microsoft now recommends you use WinSock for networking, until the re-cast X-box Live! technology is rolled out for PCs, probably around Longhorn time-frame. If you're on Linux, MacOS, or some other platform like that, life is easier: you only have regular sockets to work with.
Related QuestionsWhy do you want a standalone /unix?
B2 Frequently Asked QuestionsThe most compelling reason for a standalone shell is when the primary drive has gone down and must be recovered. While working from a standalone /unix is slow and tedious, it can often save an entire hard disk with minimal data loss. We have also used this standalone shell to repair a corrupt /etc/inittab, to fix /etc/passwd, to restore a /bin/login that had been removed, and to install new bootstraps on the hard drive.
Related QuestionsWhat if I don't want to use PayPal®?
featherhawk essences * Answers to Frequently Asked QuestionsIf you do not wish to use the PayPal® shopping cart or send your payment using PayPal®, contact featherhawk by phone (812.949.0478 or 877.226.7858 toll free in the U.S.) or email (nanci@featherhawk.com) to make other payment arrangements. You can also order by mail or fax. For details go to the How To Order page. [Top]
Related QuestionsI don't want to use a password. Can the password function be bypassed?
Technical SupportYes. Entering one press of the spacebar as the password effectively bypasses the password. (When you are prompted for the password simply press "enter")
Related QuestionsI decided that I don't want to use synchronization mode, how do I disable it?
DenyHosts Frequently Asked QuestionsIn the unlikely event that you don't find synchronization mode useful you can easily disable it by commenting out the SYNC_SERVER line in your configuration file. You will then need to restart the DenyHosts daemon for the setting to take effect.
Related QuestionsI get crashes when I use too many sockets. What's wrong?
Network Systems Programming NotesThis is a bug in Windows 95. Resources are not properly reclaimed when a socket is closed. See the microsoft web site for a patch. (http://www.microsoft.com/)
Related QuestionsWHAT TYPE OF LAMPS CAN YOUR SOCKETS USE?
Our sockets are ceramic vs. plastic and are rated for a maximum of 50W. They can accommodate standard MR11, MR16 and JC BI Pin lamps.
Related QuestionsDo I need use the UNIX machine if I want to use grep or awk command?
QYou can down any windows to UNIX emulator e.g. CYGWIN. Go into the directory where the out.tr file is located.
Related QuestionsCan I use a normal MIDI interface if I want to?
Coyote R&DYes. We offer the high performing Edirol UM-2 and UM-5 USB MIDI interface for the Two-Can64, and you can use the soundcard MIDI ports too if available. You can use both the remote control software and any monitor, mouse, or keyboard hooked up to your system at the same time.
Related QuestionsHow can I use FreeSwitch as a Win32 service?
FreeSwitch FAQ - FreeSWITCH WikiTo install as a win32 service use "freeswitch -install" and "freeswitch -uninstall" for removing. You can start the service from command line with "net start freeswitch" and stop with "net stop freeswitch".
Related QuestionsHow Do I Use Com Ports under Win32?
Mark Nelson's FAQUnder 16 bit Windows there was a separate set of functions dealing strictly with com ports. Under Win32 some of them have disappeared. Now opening a port is done using standard file commands.
Related QuestionsHow can I make a Webmin user always use the same password as Unix?
WebminIn the Webmin Users module, click on the user that you want to symchronize with Unix and set his Password option to Unix Authentication. If PAM is not used on your operating system, the first two steps can be skipped. Webmin will instead read the /etc/passwd or /etc/shadow file directly to authenticate users who are using the Unix Authentication password mode.
Related QuestionsWhat are the differences between WISP on UNIX and WISP on Windows (WIN32)?
NeoMedia Technologies - Product SupportThe two versions of WISP are almost identical. There are no COBOL source code differences between UNIX and WIN32, in fact the WISP translator is identical with both products. The WIN32 version has a number of enhancements over the UNIX product to support the graphical nature of Windows, these include built-in mouse and color support. There is also direct support for the Windows print queue including enhanced print forms facilities for fonts, paper sizes, orientation etc.
Related QuestionsCan I mix Win32 and UNIX APIs in a single program?
MKS Toolkit, Développement UNIX et Windows - FAQsYes, but the best solution is to separate your code into native Win32 and Toolkit build environments. Place the Win32 code or the UNIX code in its own executable (DLL) and then link and the Toolkit module into one program. This is best accomplished by making the UNIX code into a COM component and driving it with the Win32 code. Here are the rules: Use #include <winnutc.h> if you want to intermix Win32 and UNIX code. If the API you need is not included by winnutc.
Related QuestionsC.1. I want to use disks and printers that are connected to Unix machines. Can I do it?
The comp.sys.acorn.networking FAQYes, though not for free. You need an NFS client. The full Acorn TCP/IP suite (which is a commercial product, unlike the stack itself which is freeware) includes an NFS client, and ANT's OmniClient software also includes NFS support. Once you've obtained the necessary client software, you need to make sure that your Unix machines are running the right servers. You may need to run "pcnfsd" or something similar in addition to your standard NFS daemons to allow access from RISC OS machines.
Related QuestionsWhat is the difference if you use normal syrup?
Lemon Detox - Frequently asked questionsThe Madal Bal Natural Tree Syrup™ is a combination of 5 part selected Southeast Asian palm syrups with 1 part pure Canadian grade-C maple syrup. The primary ingredient is the palm syrup. Palm syrup stands out because of its high level of potassium, and for its perfect balance with its counterpart, sodium (10:1).
Related QuestionsI don't want to use DEET, what else is available?
CCMCD - Frequently Asked QuestionsThere are a number of EPA-registered alternatives available utilizing lemon/eucalyptus (RepelR) and picaridin (Cutter AdvancedR) formulations. If applied properly and reapplied as needed, they are every bit as effective as DEET, and will provide adequate relief.
Related QuestionsI don't care about that. I want to use it anyway. Will you implement it?
subversion: Subversion FAQNo. There are no plans to implement it ourselves or accept patches which implement this feature. If you want to distribute your files with some kind of changelog included, you might be able to work around this limitation in your build system. The answer is: don't put that file under version control. Instead, put a template of the file under version control, something like "file.tmpl".
Related Questions