Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Pouria Polouk

@Pouria Polouk
About
Posts
21
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem in running Android app on IntelliJ IDEA
    P Pouria Polouk

    Thank you. I'll do it.

    Android help asp-net android hardware debugging

  • Problem in running Android app on IntelliJ IDEA
    P Pouria Polouk

    Are you making fun of my question!?

    Android help asp-net android hardware debugging

  • Problem in running Android app on IntelliJ IDEA
    P Pouria Polouk

    Are there any other solutions OR changing the CPU is the only option?

    Android help asp-net android hardware debugging

  • Problem in running Android app on IntelliJ IDEA
    P Pouria Polouk

    Yes, unfortunately it doesn't work for me.

    Android help asp-net android hardware debugging

  • Problem in running Android app on IntelliJ IDEA
    P Pouria Polouk

    All of the message!
    And why doesn't the App run on my CPU?

    Android help asp-net android hardware debugging

  • Problem in running Android app on IntelliJ IDEA
    P Pouria Polouk

    Hello everyone.
    In order to develop Android programms, I am using IntelliJ IDEA 2020 (x64) on Windows 10 that is running on Intel core 2 Duo processor.
    To debug and run the app, I use the Nexus 5 hardware and Nougat x86 System Image (API Level 24).
    Also I’ve checked Intel x86 Emulator Accelerator (HAXM Installer) in SDK Tools and enabled Virtualization Tech in System BIOS.
    After running the app, Device is shown to me, but my app doesn’t exist in it and this message pops up:

    Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.

    Please help me.

    Android help asp-net android hardware debugging

  • Problem when create Android project in IntelliJ IDEA
    P Pouria Polouk

    thank you. solved.

    Android android java help com tools

  • Problem when create Android project in IntelliJ IDEA
    P Pouria Polouk

    Thank you, but it doesn't work.

    Android android java help com tools

  • Problem when create Android project in IntelliJ IDEA
    P Pouria Polouk

    Hello everyone.
    I’ve decided to program Android in IntelliJ IDEA 2018.3 using Kotlin.
    When I determine the SDK path and create the Android project, I face the “MyProject sync faild” message. Furthermore I am using JDK 8.
    The errors shown to me are:

    Could not find com.android.tools.build:gradle:3.1.0.
    Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom
    https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.jar
    https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom
    https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.jar
    Required by:
    project :
    Add Google Maven repository and sync project
    Open File

    Please help me.
    Thank you.

    Android android java help com tools

  • VC++ console application - client / Server
    P Pouria Polouk

    It's confusing! Let’s imagine my public IP address is 86.57.91.237. Now I want to use that IP in the code below: ... WSAData ws; struct sockaddr_in sock; int resSock, bnd; WSAStartup(MAKEWORD(2, 2), &ws); resSock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (resSock != INVALID_SOCKET){ sock.sin_family = AF_INET; sock.sin_port = htons(3377); sock.sin_addr.S_un.S_addr = inet_addr("86.57.91.237"); } bnd=bind(resSock, (struct sockaddr *)&sock, sizeof(sock)); if (bnd != SOCKET_ERROR) cout << "Bind Successful" << endl; else cout << GetLastError() << endl; ... why does this program show error code 10049? Error code 10049 means: “The requested address is not valid in its context. This normally results from an attempt to bind to an address that is not valid for the local computer”. I want to see “Bind Successful” message.

    C / C++ / MFC sysadmin question c++

  • VC++ console application - client / Server
    P Pouria Polouk

    Dear friend, It’s not important if that public IP (ADSL IP) be static or dynamic. The code below gets public IP of that computer and it must be able bind that IP to the created socket and then stays at the listening state: ... HINTERNET hI, hF; DWORD piSize; char public_ip[15]; hI= InternetOpen(NULL, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0); hF = InternetOpenUrlA(hI, "http://myip.dnsomatic.com", NULL, 0, INTERNET_FLAG_RELOAD, 0); InternetReadFile(hF, &public_ip, sizeof(public_ip), &piSize); public_ip[piSize] = '\0'; InternetCloseHandle(hF); InternetCloseHandle(hI); cout << public_ip; ... The main problem is that my server program can’t bind to received public IP.

    C / C++ / MFC sysadmin question c++

  • VC++ console application - client / Server
    P Pouria Polouk

    ok. Here is about NETCAT (http://en.wikipedia.org/wiki/Netcat) I have written a program in two client and server versions. The server program must be run on the victim computer. I’m controlling the whole of the victim computer by client program. I’ve written this program for LAN. Now I want this program works on the internet while controlling that victim computer with the server program on. The victim computer is connected to the internet by and ADSL broadband. My problem is when the server program is being run on the victim computer, how it can get the Public IP and then stays at listening state on that IP address?

    C / C++ / MFC sysadmin question c++

  • VC++ console application - client / Server
    P Pouria Polouk

    Thank you so much, it worked. Now I want to develop the program and write a program such as NETCAT. I want the victim stays at listening state after running the program. The question is how the victim get its public IP to stays at listening state with that IP?

    C / C++ / MFC sysadmin question c++

  • VC++ console application - client / Server
    P Pouria Polouk

    Yes, it is.

    C / C++ / MFC sysadmin question c++

  • VC++ console application - client / Server
    P Pouria Polouk

    Look, my problem is that server program doesn’t bind to the valid IP such as 86.57.91.230. But it binds to the invalid IP such as 192.168.0.1.

    C / C++ / MFC sysadmin question c++

  • VC++ console application - client / Server
    P Pouria Polouk

    In my office, it's possible. I just want a solution. Let me know if you have one.

    C / C++ / MFC sysadmin question c++

  • VC++ console application - client / Server
    P Pouria Polouk

    That was just an example. I know it doesn't mean anything. anyway thank you for your guide.

    C / C++ / MFC sysadmin question c++

  • VC++ console application - client / Server
    P Pouria Polouk

    Thank you for your advice, But it didn’t work. I decided to run server program on one of computers in my office. For this purpose I got that computer’s IP address from http://myip.dnsomatic.com and used it in server program. But error code 10049 was returned. (Cannot assign requested address) : WSAData ws; struct sockaddr_in sock; int resSock, cl,bnd; WSAStartup(MAKEWORD(2, 2), &ws); resSock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (resSock != INVALID_SOCKET){ sock.sin_family = AF_INET; sock.sin_port = htons(3377); sock.sin_addr.S_un.S_addr = inet_addr("86.57.x.y"); } bnd = bind(resSock, (struct sockaddr *)&sock, sizeof(sock)); if (bnd != SOCKET_ERROR) cout << "Successfull..." << endl; else cout << GetLastError() << endl;

    C / C++ / MFC sysadmin question c++

  • VC++ console application - client-Server
    P Pouria Polouk

    Hello I have written a client-server program using VC++ 2012 console application, which works on local network properly. But I want to connect to the server program on the internet using client program. I have the computer IP that server program is run on. How can I connect to server program by client? (regards)

    C / C++ / MFC sysadmin question c++

  • VC++ console application - client / Server
    P Pouria Polouk

    Hello I have written a client-server program using VC++ 2012 console application, which works on local network properly. But I want to connect to the server program on the internet using client program. I have the computer IP that server program is run on. How can I connect to server program by client? (regards)

    C / C++ / MFC sysadmin question c++
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups