Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: extanuel
  • Order by date
  1. extanuel

    strcmp problem

    First of all, you haven't reserved any memory to buf. Since you seem to want to use a static array of characters you should skip the *. Also, fgets() doesn't stip the newline character. Hence buf will contain "quit\n" instead of "quit". strncasecmp() lets you specify how...
  2. extanuel

    Create global variable to be used accross dialog boxes

    Sending a regular WinMessage between them should do the trick, WM_CLOSE baybe..... The dialog receiving this mess will automatically close. In this way you avoid busy waiting.
  3. extanuel

    sockets

    That depends on what kind of service you want to provide.. Reliable transfers which arrive at the client in the same order you send it (TCP) or speed and chaos (UDP). QoS?
  4. extanuel

    SSH through a mean firewall?

    just edit /etc/ssh/sshd_config and add/change the line with port specs to Port 443 and then just restart the server
  5. extanuel

    SSH through a mean firewall?

    If the firewall just filters packets based on IP and PORT, like ipchains you just have to change your port# on your ssh-server to 443 (HTTPS) and use that one.. If the firewall is proxybased you may be in deep $hit.. However ssh uses SSL in the same manner as HTTPS so you may still cheat the...
  6. extanuel

    Setting up LDAP... how hard is it?

    We're working on a solution to integrate Linux and Windows logons and keep all the passwds in one place; LDAP. Do you wan't LDAP as a backend for your primary domain controller?
  7. extanuel

    how to convert float to binary

    I couldn't help myself; had to code something.. :) this is one solution that does the trick: int main() { float num = 236.63568; char res[sizeof(float)*8+1]; // Where the result will go.. int *p; int i=0; unsigned int mask=0x80000000; // binary this is 1000000.. p=# // have to...

Part and Inventory Search

Back
Top