Search Result

Collapse
4 results in 0.0025 seconds.
Keywords
Members
Tags
fail
  •  

  • josh wood
    started a topic email reader fail

    email reader fail

    I am trying to create an email reader in vb.net 2008 but when I use the following code I get an error message saying
    "Unable to read data from the transport connection: An established connection was aborted by the software in your host machine."

    Code:
    Imports System.Net.Sockets
    Imports System.Text
    Public Class Home
    
        Private Sub GetMailButton_Click(ByVal sender As System.Object,
    ...
    See more | Go to post

  • Andrew Jiang
    started a topic setcookie() doesn't work anymore?
    in PHP

    setcookie() doesn't work anymore?

    Hi. I made a website that has a login system.
    The cookies worked fine until I changed the layout.
    Could you tell me why this is happening?

    Login Code:
    setcookie("logi nuser", $username, time()+2592000) ;
    setcookie("logi npassword", $password, time()+2592000) ;

    (I tried checking my cookies, and I displaying my cookies when I logged in, but it doesn't even MAKE a cookie. So there's...
    See more | Go to post

  • Why does fstream fail to open file, but ofstream opens ok?

    I am not sure what else to try in order to address this issue.

    Code:
    #include <iostream>
    #include <fstream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
       fstream mfile("./ftest.txt", fstream::in | fstream::out);
       std::cout << "fstream fail: " << (mfile.fail() == 1 ? "true" : "false") << std::endl;
    ...
    See more | Go to post
    Last edited by meLlamanJefe; Nov 22 '10, 04:21 PM. Reason: Added gcc version info.

  • socket.connect | gaierror: [Errno 11004] getaddrinfo failed

    Hi all,
    I am having trouble getting a client/server relationship to connect; receiving the above error.
    Python 2.6.5, Win7

    On one end we have the socket being bound and that is all working with correct (IP) and as far as I know, correct socket settings.
    Code:
    def listen_for_peer_setup(server_connection):
        listening_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        listening_socket.setsockopt(socket.SOL_SOCKET,
    ...
    See more | Go to post
Working...